Skip to content

Commit 7b0375d

Browse files
committed
Parser.cpp: fix buggy in GetCXXRecordDeclFromBaseType
1 parent eb8dffe commit 7b0375d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/CppParser/Parser.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,6 @@ static clang::CXXRecordDecl* GetCXXRecordDeclFromBaseType(const clang::QualType&
900900
else if (auto Injected = Ty->getAs<clang::InjectedClassNameType>())
901901
return Injected->getDecl();
902902

903-
assert(0 && "Could not get base CXX record from type");
904903
return nullptr;
905904
}
906905

0 commit comments

Comments
 (0)