summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-07-02 19:19:01 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-07-02 19:19:01 +0000
commit442dd80715f71bd8118dc44b521f0e0bb35a697d (patch)
treea5f9804d604bf307bff1f11f2051195aa0605266 /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
parent200f47c65da5960b507437dc3f19bcc3aa0dd7b8 (diff)
downloadbcm5719-llvm-442dd80715f71bd8118dc44b521f0e0bb35a697d.tar.gz
bcm5719-llvm-442dd80715f71bd8118dc44b521f0e0bb35a697d.zip
[PCH] Make sure that all newly introduced visible decls in a DeclContext
coming from an AST file are registered for serialization. A static data member instantiation of in a chained PCH could be missed when serializing decls; the result was that when emitting the visible decls map of its DeclContext, we would use a DeclID that was not actually emitted, leading to crashes or hangs. Fix this by making sure such decls are always registered for serialization. Also introduce extra sanity checks to make sure we don't register new declarations or types after we have serialized the types/decls block. rdar://11728990 llvm-svn: 159550
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud