Skip to content
Snippets Groups Projects
Commit 8871a44a authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

Introduce PCHReader::GetTranslationUnitDecl() and use it instead of...

Introduce PCHReader::GetTranslationUnitDecl() and use it instead of ReadDeclRecord when initializing.

ReadDeclRecord would hit assertion if the translation unit declaration was already loaded during
IdentifierInfo initialization.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107885 91177308-0d34-0410-b5e6-96231b3b80d8
parent bfcc92c3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment