diff --git a/lib/AST/StructFieldRenamer.cpp b/lib/AST/StructFieldRenamer.cpp index ac298a6b..0671b7ab 100644 --- a/lib/AST/StructFieldRenamer.cpp +++ b/lib/AST/StructFieldRenamer.cpp @@ -23,7 +23,9 @@ StructFieldRenamer::StructFieldRenamer(DecompilationContext &dec_ctx, bool StructFieldRenamer::VisitRecordDecl(clang::RecordDecl *decl) { auto type{decls[decl]}; - CHECK(type) << "Type information not present for declaration"; + if (!type) { + return !Stopped(); + } auto di{types[type]}; if (!di) {