From 7b0375d76775fba6f9b9efa4ab653321022876ac Mon Sep 17 00:00:00 2001 From: Deadlocklogic Date: Sun, 31 Dec 2023 02:29:59 +0200 Subject: [PATCH] Parser.cpp: fix buggy in GetCXXRecordDeclFromBaseType --- src/CppParser/Parser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/CppParser/Parser.cpp b/src/CppParser/Parser.cpp index 3569ec9fa..b12e991c1 100644 --- a/src/CppParser/Parser.cpp +++ b/src/CppParser/Parser.cpp @@ -900,7 +900,6 @@ static clang::CXXRecordDecl* GetCXXRecordDeclFromBaseType(const clang::QualType& else if (auto Injected = Ty->getAs()) return Injected->getDecl(); - assert(0 && "Could not get base CXX record from type"); return nullptr; }