Skip to content

Commit

Permalink
Parser.cpp: fix buggy in GetCXXRecordDeclFromBaseType
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlocklogic committed Dec 31, 2023
1 parent eb8dffe commit 7b0375d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/CppParser/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,6 @@ static clang::CXXRecordDecl* GetCXXRecordDeclFromBaseType(const clang::QualType&
else if (auto Injected = Ty->getAs<clang::InjectedClassNameType>())
return Injected->getDecl();

assert(0 && "Could not get base CXX record from type");
return nullptr;
}

Expand Down

0 comments on commit 7b0375d

Please sign in to comment.