diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-09 02:44:08 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-09 02:44:08 +0000 |
commit | 4bbb8501d9db2ae72b1e39afaafa5795d67ffe03 (patch) | |
tree | 5ca821bcb0736ec33085ab5f2d6d58530ae26e94 /lib/CodeGen/CodeGenFunction.h | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions