commit | 4bbb8501d9db2ae72b1e39afaafa5795d67ffe03 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Feb 09 02:44:08 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Feb 09 02:44:08 2012 +0000 |
tree | 5ca821bcb0736ec33085ab5f2d6d58530ae26e94 | |
parent | 5e058eb02875530f1aed10c3417a1011744239b1 [diff] |
[PCH] Avoid using Decl::setAttrs() and Decl::setLexicalDeclContext() from the ASTReaderDecl directly; they internally call Decl::getASTContext() which may crash if a declaration context parent is still deserializing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150137 91177308-0d34-0410-b5e6-96231b3b80d8