llvm-project/clang/test/Index/Inputs
Argyrios Kyrtzidis acfbbd77f8 [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

llvm-svn: 187914
2013-08-07 21:17:33 +00:00
..
CommentXML Comment parsing: allow "\param ..." to describe variadic arguments 2013-06-24 04:41:32 +00:00
Frameworks Introduce inferred framework modules into the module map file, 2012-11-06 19:39:40 +00:00
Headers Ensure that we clean up after a failed module build and cope with the 2012-01-29 19:57:03 +00:00
a.h
annotate-comments-preprocessor.h Handle include directive with comments. It turns out that in this case comments are not coming in source order. Instead of trying to std::sort() comments (which can be costly), just remove comments that are not in order. 2012-06-21 22:04:37 +00:00
b.h
c-index-pch.h
cindex-from-source.h
complete-pch.h
crash-recovery-code-complete-remap.c
crash-recovery-reparse-remap.c
empty.h Have SourceManager::getLocForEndOfFile() point at the "EOF" location of the FileID. 2013-05-07 04:29:22 +00:00
foo.h
get-cursor-includes-1.h
get-cursor-includes-2.h
guarded.h
lit.local.cfg
objc.h
pragma-once.h
pragma_disable_warning.h [PCH] Fix reading from PCH of diagnostic pragmas. 2011-11-09 01:24:17 +00:00
preamble-reparse-1.c
preamble-reparse-2.c
preamble-with-error.h [PCH] Fix a PCH serialization crash, with invalid code related to forward enum references. 2013-08-07 21:17:33 +00:00
preamble.h
preamble_macro_template.h Revamp the SourceManager to separate the representation of parsed 2011-07-19 16:10:42 +00:00
prefix.h
redeclarations.h Eliminate a hang while loading a sequence of redeclarable entities. In 2011-10-26 17:53:41 +00:00
remap-complete-to.c
remap-load-to.c
reparse-instantiate.h Add missing part of test 2011-11-07 18:54:12 +00:00
retain-comments-from-system-headers.h Add tests for r163778. 2012-09-13 17:25:51 +00:00
t1.c
t1.m
t2.c
t2.m