summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-08-07 21:17:33 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-08-07 21:17:33 +0000
commit51e75aecf4fb303b91c9e54fd88e3509e5acc7a6 (patch)
tree09432ec14773d901a2de11bc13edc1267e547683 /lib/CodeGen/CGExpr.cpp
parentd3a247cc4e136af6b71dc5968ca6190e6c68f4c5 (diff)
downloadclang-51e75aecf4fb303b91c9e54fd88e3509e5acc7a6.tar.gz
clang-51e75aecf4fb303b91c9e54fd88e3509e5acc7a6.tar.bz2
clang-51e75aecf4fb303b91c9e54fd88e3509e5acc7a6.tar.xz
[PCH] Fix a PCH serialization crash, with invalid code related to forward enum references.
The problem was that an enum without closing semicolon could be associated as a forward enum in an erroneous declaration, leading to the identifier being associated with the enum decl but without a declaration actually referencing it. This resulted in not having it serialized before serializing the identifier that is associated with. Also prevent the ASTUnit from querying the serialized DeclID for an invalid top-level decl; it may not have been serialized. rdar://14539667 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions