hanchenye-llvm-project/clang/test/PCH
Douglas Gregor cd0d826001 Finish implementing (de-)serialization of the CXXDefinitionData bits
needed for implicit move constructors and move assignment
operators. Fixes PR10847.

llvm-svn: 139144
2011-09-06 16:38:46 +00:00
..
Inputs When writing out the entries in a lookup table for a DeclContext, make 2011-08-30 20:49:19 +00:00
libroot/usr/include
arc.m Fix diagnostic when loading a PCH which has different enabled/disabled state of -fobjc-arc. rdar://9818341 2011-07-21 21:56:04 +00:00
asm.c
asm.h
attrs-PR8406.c Read/write declaration attributes from/to PCH properly. Embed them in the declaration block instead of trying to create another block. 2010-10-18 19:20:11 +00:00
attrs.c Merge header & cpp for test/PCH/attrs.c - more convenient to keep the tests in one source file. 2010-10-18 19:20:05 +00:00
blocks.c
blocks.h
builtins.c
builtins.h
chain-categories.m Support importing of ObjC categories from modules. 2011-09-01 00:58:55 +00:00
chain-conversion-lookup.cpp Change the hashing function for DeclContext lookup within an AST file 2011-08-02 18:32:54 +00:00
chain-cxx.cpp Add a decl update when a static data member of a class template is instantiated in a different PCH than its containing class. Otherwise we get double definition errors. Fixes a Boost.MPL problem that affects Boost.Accumulators and probably a lot more of Boost. 2011-04-29 08:19:30 +00:00
chain-decls.c Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
chain-empty-initial-namespace.cpp On reading DeclContexts from PCH, check for visible updates even if the context was empty in the original version. Also, if there are any, tell the context that it has external visible decls. This fixes the problem that a namespace that was empty in the initial PCH (could also happen if the initial PCH didn't include any std header but caused implicit creation of namespace std, e.g. due to implicit declaration of a virtual destructor) never found any declaration declared in *any* chained PCH. Very ugly when the chained PCH includes all that std stuff, as the errors were effectively the same as not including std headers. 2011-04-24 16:27:54 +00:00
chain-ext_vector.c Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
chain-external-defs.c Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
chain-friend-instantiation.cpp Remove a bogus assertion from the AST reader, which assumed that 2011-08-25 15:28:26 +00:00
chain-implicit-definition.cpp Use -emit-llvm-only as suggested by Argyrios. 2011-04-29 08:19:03 +00:00
chain-late-anonymous-namespace.cpp Set the correct anonymous namespace (must be last reopening), and behave correctly in the presence of the ever-annoying linkage specifications. 2011-04-24 16:28:21 +00:00
chain-macro-override.c Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
chain-macro.c Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
chain-pending-instantiations.cpp Store the full list of pending instantiations in a chained PCH. Previously we attempted to store only new pending instantiations, but our filter was incorrect, dropping implicit instantiations of class template members. It's just not worth coming up with a complex filter that is correct, when the only cost is PCH files that are a few hundred bytes (at most) larger. 2011-04-24 16:27:30 +00:00
chain-predecl.h Instead of modifying the ObjC AST to not modify existing declarations, teach chained PCH to overwrite declarations from earlier PCH files in dependent ones. Tell Sema to note when it changes AST nodes so that they have to be reserialized. Finally, the ObjCProtocolDecls created in forward decls, like the ObjCInterfaceDecls in @class forward decls, are not lexically part of the decl context; only the definition is. 2010-08-13 00:28:03 +00:00
chain-predecl.m Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
chain-remap-types.m Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
chain-selectors.m Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
chain-trivial.c Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file 2011-08-25 22:54:01 +00:00
changed-files.c
check-deserializations.cpp Store in PCH the key function of C++ class to avoid deserializing the complete declaration context in order to compute it. 2010-10-14 20:14:38 +00:00
cmdline-include.c Add test case I forgot for r115159 (support implicit includes along with PCH). 2010-10-01 00:00:18 +00:00
cmdline-include1.h Add test case I forgot for r115159 (support implicit includes along with PCH). 2010-10-01 00:00:18 +00:00
cmdline-include2.h Add test case I forgot for r115159 (support implicit includes along with PCH). 2010-10-01 00:00:18 +00:00
cuda-kernel-call.cu Parse: add support for parsing CUDA kernel calls 2011-02-09 21:12:02 +00:00
cxx-alias-decl.cpp Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
cxx-alias-decl.h Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
cxx-chain-function-template.cpp Chained PCH: Remember when additional specializations are added to a function template from a previous PCH. Fixes the only crasher when using massive chains on Clang's Sema component. We still have some incomplete codegen there. 2011-04-14 14:07:59 +00:00
cxx-for-range.cpp Fixed test case asserts due to checkin of r130710. 2011-05-02 20:39:21 +00:00
cxx-for-range.h Add support for C++0x's range-based for loops, as specified by the C++11 draft standard (N3291). 2011-04-14 22:09:26 +00:00
cxx-friends.cpp
cxx-friends.h
cxx-implicit-moves.cpp Finish implementing (de-)serialization of the CXXDefinitionData bits 2011-09-06 16:38:46 +00:00
cxx-member-init.cpp Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00
cxx-method.cpp When writing out the entries in a lookup table for a DeclContext, make 2011-08-30 20:49:19 +00:00
cxx-ms-function-specialization-class-scope.cpp Add serialization support for ClassScopeFunctionSpecializationDecl. 2011-08-17 01:06:54 +00:00
cxx-ms-function-specialization-class-scope.h Add serialization support for ClassScopeFunctionSpecializationDecl. 2011-08-17 01:06:54 +00:00
cxx-namespaces.cpp
cxx-namespaces.h
cxx-offsetof-base.cpp Implement PCH support for offsetof(base-specifier). 2010-07-29 18:16:10 +00:00
cxx-offsetof-base.h Implement PCH support for offsetof(base-specifier). 2010-07-29 18:16:10 +00:00
cxx-reference.cpp Fixed test case asserts due to checkin of r130710. 2011-05-02 20:39:21 +00:00
cxx-reference.h Fix AST serialization of reference-to-reference types. This previously caused 2011-04-12 10:38:03 +00:00
cxx-required-decls.cpp Make sure C++ variable definitions are actually passed to the consumer when loaded from PCH. 2010-08-05 09:47:59 +00:00
cxx-required-decls.h Make sure C++ variable definitions are actually passed to the consumer when loaded from PCH. 2010-08-05 09:47:59 +00:00
cxx-static_assert.cpp Change test/PCH/cxx-static_assert.cpp so that it doesn't need a separate header. 2011-05-04 14:58:28 +00:00
cxx-templates.cpp When serializing a DeclRefExpr, always store the number of explicit template 2011-03-06 18:19:42 +00:00
cxx-templates.h When we're deserializing a template parameter declaration, temporarily 2011-03-05 01:35:54 +00:00
cxx-traits.cpp -Make TokenID of IdentifierInfo read-only, remove setTokenID(). 2010-08-11 22:55:12 +00:00
cxx-traits.h -Make TokenID of IdentifierInfo read-only, remove setTokenID(). 2010-08-11 22:55:12 +00:00
cxx-typeid.cpp tests: Add a missing -Xclang. 2010-08-11 02:32:03 +00:00
cxx-typeid.h Read/write in PCH Sema's StdNamespace and StdBadAlloc and use a LazyDeclPtr for them that will deserialize them when needed. 2010-08-02 07:14:54 +00:00
cxx-using.cpp
cxx-using.h
cxx-variadic-templates.cpp Fix a thinko where I didn't update a consistency check for 2011-02-01 15:24:58 +00:00
cxx-variadic-templates.h Fix a thinko where I didn't update a consistency check for 2011-02-01 15:24:58 +00:00
cxx0x-default-delete.cpp Update our diagnostics to properly account for move operations. 2011-05-25 23:16:36 +00:00
cxx0x-delegating-ctors.cpp there i fixed it 2011-05-04 23:29:54 +00:00
cxx_exprs.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
cxx_exprs.h
enum.c
enum.h
exprs.c C1X: implement generic selections 2011-04-15 00:35:48 +00:00
exprs.h C1X: implement generic selections 2011-04-15 00:35:48 +00:00
ext_vector.c
ext_vector.h
external-defs.c
external-defs.h
functions.c Fix an inconsistency in Sema::ConvertArgumentsForCall in that 2011-07-29 00:24:42 +00:00
functions.h
fuzzy-pch.c
fuzzy-pch.h
headermap.h
headermap.m
headersearch.cpp test/PCH/headersearch.cpp: Tweak for Windows hosts especially cygming. 2011-03-06 20:44:33 +00:00
line-directive.c
line-directive.h
method_pool.h
method_pool.m
missing-file.cpp Remove unnecessary RUN: directive. 2011-02-03 14:05:55 +00:00
modified-header-crash.c Because of r130359 this test no longer fail on Windows. 2011-04-28 02:01:57 +00:00
modified-header-crash.h Fix a crash when ASTReader emits diagnostic when another one is in flight. Fixes rdar//9334563. 2011-04-25 22:23:56 +00:00
modified-header-error.c Revert r132426; this test passes more often than not, and we don't have a way to mark tests as intermittently failing at the moment. 2011-06-02 00:42:47 +00:00
multiple_decls.c
multiple_decls.h
namespaces.cpp Serialize the "inline" bit for namespaces. Fixes <rdar://problem/8515069>. 2010-10-05 20:41:58 +00:00
nonvisible-external-defs.c
nonvisible-external-defs.h
objc_exprs.h
objc_exprs.m
objc_import.h
objc_import.m
objc_methods.h Implement Objective-C Related Result Type semantics. 2011-06-11 01:09:30 +00:00
objc_methods.m Implement Objective-C Related Result Type semantics. 2011-06-11 01:09:30 +00:00
objc_property.h
objc_property.m
objc_stmts.h
objc_stmts.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
objcxx-ivar-class.h The emission of an Objective-C++'s class .cxx_destruct method should be 2011-03-22 07:05:39 +00:00
objcxx-ivar-class.mm Start fixing up clang tests to work on the clang-native-arm-cortex-a9 builder. 2011-06-06 21:23:05 +00:00
opencl-extensions.cl Serialization/deserialization support for floating point #pragma 2011-02-15 19:46:30 +00:00
pchpch.c
pchpch1.h
pchpch2.h
pr4489.c
pragma-diag-section.cpp Diagnose uninitialized uses of a variable within its own initializer. 2011-03-27 09:46:56 +00:00
pragma-diag.c Diagnose uninitialized uses of a variable within its own initializer. 2011-03-27 09:46:56 +00:00
pragma-weak.c Support #pragma weak for PCH. 2010-08-05 09:48:08 +00:00
pragma-weak.h Support #pragma weak for PCH. 2010-08-05 09:48:08 +00:00
preamble.c Introduce basic support for loading a precompiled preamble while 2010-07-26 21:36:20 +00:00
preprocess.c
preprocess.h
pth.c Add PTH test case for <rdar://problem/8227989>. 2010-07-27 23:06:03 +00:00
pth.h Add PTH test case for <rdar://problem/8227989>. 2010-07-27 23:06:03 +00:00
rdar8852495.c Diagnose uninitialized uses of a variable within its own initializer. 2011-03-27 09:46:56 +00:00
reinclude.cpp Revamp the SourceManager to separate the representation of parsed 2011-07-19 16:10:42 +00:00
reinclude1.h Implement AST/PCH chaining support for macro definitions. Previously, 2011-02-11 00:26:14 +00:00
reinclude2.h Fix an issue with writing to PCH another included PCH, introduced by the "using an AST on-disk hash table for name lookup" commit. 2010-08-20 23:35:55 +00:00
reloc.c lib/Frontend/InitHeaderSearch.cpp: Tweak AddPath() to accept "/foo/bar" (not "X:\foo\bar") with -isysroot. test/PCH/reloc.c can pass. 2011-05-02 04:50:10 +00:00
selector-warning.h Test for selector-warning PCH patch. 2010-07-23 20:32:57 +00:00
selector-warning.m Test for selector-warning PCH patch. 2010-07-23 20:32:57 +00:00
source-manager-stack.c Flip the default for showing include stacks on notes to false. This 2011-03-27 20:00:08 +00:00
stmts.c
stmts.h
struct.c
struct.h
tentative-defs.c
tentative-defs.h
types.c Perform the bad-address-space conversions check as part of 2011-02-01 00:10:29 +00:00
types.h
typo.cpp Add support for C++ namespace-aware typo correction, e.g., correcting 2011-06-28 16:20:02 +00:00
typo.m When performing typo correction, look through the set of known 2010-10-14 22:11:03 +00:00
va_arg.c
va_arg.cpp Register the __builtin_va_list_type node when we parse it, rather than 2010-10-05 14:55:45 +00:00
va_arg.h
variables.c Make the Preprocessor more memory efficient and improve macro instantiation diagnostics. 2011-07-07 03:40:34 +00:00
variables.h Make the Preprocessor more memory efficient and improve macro instantiation diagnostics. 2011-07-07 03:40:34 +00:00
working-directory.cpp When writing file references in a pch, make sure to ask the file manager for the absolute path. 2011-03-08 16:04:35 +00:00
working-directory.h When writing file references in a pch, make sure to ask the file manager for the absolute path. 2011-03-08 16:04:35 +00:00