Skip to content
Commit 6c07547b authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[PCH] Set the DeclContext before doing any deserialization, to make sure internal

calls to Decl::getASTContext() by Decl's methods will find the TranslationUnitDecl
without crashing due to a parent declaration context still deserializing.

llvm-svn: 150153
parent edeea175
Loading
Loading
Loading
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