commit | 53a8b9789c8e87b67aa802e2df205db702c5ef27 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Feb 09 06:02:44 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Feb 09 06:02:44 2012 +0000 |
tree | 5851642af04776aa198ec82f5c8813f6ff72c4ca | |
parent | b9da55780eb66fb09e771dbc5ff01eec5c4d957b [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150153 91177308-0d34-0410-b5e6-96231b3b80d8