llvm-project/clang/test/PCH/Inputs
Reid Kleckner ea53dba78b Fix a bug involving deferred decl emission and PCH
For various reasons, involving dllexport and class linkage compuations,
we have to wait until after the semicolon after a class declaration to
emit inline methods. These are "deferred" decls. Before this change,
finishing the tag decl would trigger us to deserialize some PCH so that
we could make a "pretty" IR-level type. Deserializing the PCH triggered
calls to HandleTopLevelDecl, which, when done, checked the deferred decl
list, and emitted some dllexported decls that weren't ready.

Avoid this re-entrancy. Deferred decls should not get emitted when a tag
is finished, they should only be emitted after a real top level decl in
the main file.

llvm-svn: 267186
2016-04-22 18:46:33 +00:00
..
badpch-dir.h.gch
modules [PCH/Modules] Check that the specific module cache path the PCH was built with, is the same as 2015-02-19 20:12:20 +00:00
__va_list_tag-typedef.h [Clang][ARM] __va_list declaration is not saved in ASTContext causing compilation error or crash 2016-03-30 21:30:30 +00:00
__va_list_tag.h
arc.h
badpch-empty.h.gch
case-insensitive-include.h
chain-decls1.h
chain-decls2.h
chain-ext_vector1.h
chain-ext_vector2.h
chain-external-defs1.h
chain-external-defs2.h
chain-macro-override1.h
chain-macro-override2.h
chain-macro1.h
chain-macro2.h
chain-remap-types1.h
chain-remap-types2.h
chain-selectors1.h
chain-selectors2.h
chain-trivial1.h
chain-trivial2.h
cuda.h
cxx-method.h
cxx11-statement-attributes.h P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
namespaces.h
pr27445.h Fix a bug involving deferred decl emission and PCH 2016-04-22 18:46:33 +00:00
preamble.h
typo.h
typo.hpp
va_arg.h Support __builtin_ms_va_list. 2015-09-17 20:55:33 +00:00
working-directory-1.h