hanchenye-llvm-project/clang/test/PCH
Alexander Kornienko 90ff607894 Implement AST dumper for Decls.
http://llvm-reviews.chandlerc.com/D52

Patch by Philip Craig!

llvm-svn: 170634
2012-12-20 02:09:13 +00:00
..
Inputs Store on the CXXRecordDecl whether the class has, or would have, a copy 2012-11-28 06:23:12 +00:00
libroot/usr/include
__va_list_tag.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
arc.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
asm.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
asm.h
attrs-PR8406.c
attrs.c Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
badpch.c Move the input files for test/PCH/badpch.c under test/PCH/Inputs/. 2012-10-25 19:43:57 +00:00
blocks.c
blocks.h
builtins.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
builtins.h
case-insensitive-include.c [PCH] Remove the stat cache from the PCH file. 2012-10-31 20:59:50 +00:00
chain-categories.m Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
chain-categories2.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
chain-class-extension.m Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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 Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
chain-decls.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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 Rework the (de-)serialization of macros, as stored in 2012-10-09 23:05:51 +00:00
chain-macro.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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
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 Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
chain-selectors.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
chain-staticvar-instantiation.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
chain-trivial.c Explicitly build __builtin_va_list. 2012-06-16 03:34:49 +00:00
changed-files.c
check-deserializations.cpp
cmdline-include.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cmdline-include1.h
cmdline-include2.h
cocoa.m [PCH] Include a darwin-only PCH test on Cocoa.h. 2012-02-28 23:39:20 +00:00
crash-12631281.cpp Copy the decls returned by DeclContext::lookup_result to a 2012-11-13 05:07:23 +00:00
cuda-kernel-call.cu
cxx-alias-decl.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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-constexpr.cpp constexpr handling improvements. Produce detailed diagnostics when a 'constexpr' 2011-12-19 06:19:21 +00:00
cxx-exprs.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-for-range.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx-for-range.h DR1442: In a range-based for statement, namespace 'std' is not an associated 2012-10-18 17:56:02 +00:00
cxx-friends.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-friends.h PR12585: When processing a friend template inside a class template, don't 2012-04-22 02:13:50 +00:00
cxx-functions.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-functions.h Eliminate obvious use-after-free. Fixes PR12433 / <rdar://problem/11168333>. 2012-04-04 00:34:49 +00:00
cxx-implicit-moves.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-member-init.cpp PR13064: Store whether an in-class initializer uses direct or copy 2012-06-10 03:12:00 +00:00
cxx-method.cpp Store on the CXXRecordDecl whether the class has, or would have, a copy 2012-11-28 06:23:12 +00:00
cxx-ms-function-specialization-class-scope.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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 Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-namespaces.h
cxx-offsetof-base.cpp
cxx-offsetof-base.h
cxx-reference.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
cxx-required-decls.h
cxx-static_assert.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
cxx-templates.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-templates.h PR13811: Add a FunctionParmPackExpr node to handle references to function 2012-09-12 00:56:43 +00:00
cxx-trailing-return.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
cxx-traits.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-traits.h Implement a new type trait __is_trivially_constructible(T, Args...) 2012-02-24 07:38:34 +00:00
cxx-typeid.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-typeid.h
cxx-using.cpp
cxx-using.h
cxx-variadic-templates.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx-variadic-templates.h PR9023: A template template parameter whose template parameter list contains an 2012-09-07 02:06:42 +00:00
cxx0x-default-delete.cpp Finish implementing 'selected constructor' rules for triviality in C++11. In 2012-12-08 08:32:28 +00:00
cxx0x-delegating-ctors.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
cxx11-constexpr.cpp Serialize the 'IsConstexpr' bit of VarDecls. Fixes <rdar://problem/12328814>. 2012-09-20 23:43:29 +00:00
cxx11-enum-template.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
cxx11-exception-spec.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx11-lambdas.mm Generate an AST for the conversion from a lambda closure type to a 2012-02-22 05:02:47 +00:00
cxx11-statement-attributes.cpp Added a test for C++11 statement attributes serialization. 2012-10-02 23:11:53 +00:00
cxx11-user-defined-literals.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
cxx_exprs.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
cxx_exprs.h Fix abbreviation for CharacterLiteral in AST serialization. PR13806. 2012-09-14 00:51:36 +00:00
designated-init.c [PCH] When serializing Stmts, keep track of when sub statements are referenced again and 2011-10-21 23:02:28 +00:00
designated-init.c.h [PCH] When serializing Stmts, keep track of when sub statements are referenced again and 2011-10-21 23:02:28 +00:00
empty-with-headers.c Our style for diagnostic messages is to not include a trailing dot. 2012-11-05 05:32:00 +00:00
enum.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
enum.h
exprs.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
exprs.h Improve some of the conversion warnings to fire on conversion to bool. 2012-05-15 16:56:36 +00:00
ext_vector.c
ext_vector.h
external-defs.c
external-defs.h
field-designator.c [PCH] When loading fields from external storage make sure to also 2012-09-10 22:04:22 +00:00
format-strings.c The Lexer constructor expects a source location at the start of the 2012-05-11 21:39:18 +00:00
friend-template.cpp [PCH] Write out the ClassTemplateDecl::Common::InjectedClassNameType type 2012-11-06 00:35:02 +00:00
functions.c Fix an inconsistency in Sema::ConvertArgumentsForCall in that 2011-07-29 00:24:42 +00:00
functions.h
fuzzy-pch.c Teach the PCH validator to check the preprocessor options, especially 2012-10-24 23:41:50 +00:00
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-redecls.m [PCH] Fix the test. 2011-11-12 21:07:54 +00:00
method_pool.h
method_pool.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
missing-file.cpp Looks like lit on Windows can't cope with parens here, and in any case, we shouldn't need them after r169441. 2012-12-05 22:59:28 +00:00
modified-header-crash.c clang/test: Suppress two tests on win32 for now, since, not sure, in r169829 to r169831. 2012-12-12 00:51:38 +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 Disable on Windows, for real. 2011-10-26 14:35:30 +00:00
ms-if-exists.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
multiple_decls.c
multiple_decls.h
namespaces.cpp
nonvisible-external-defs.c
nonvisible-external-defs.h
objc_container.h Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
objc_container.m Correct test inovocations to use %clang_cc1 rather than direct invocation (so that it can have additional options set when trying to debug issues causing regressions). 2012-10-25 13:56:30 +00:00
objc_exprs.h [PCH] When serializing an PseudoObjectExpr or AtomicExpr, the serialization code must be set 2011-11-15 06:20:27 +00:00
objc_exprs.m objective-c++: Type of an objc string literal is NSString, not 'id'. 2012-02-23 22:51:36 +00:00
objc_import.h
objc_import.m Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
objc_literals.m Correct test inovocations to use %clang_cc1 rather than direct invocation (so that it can have additional options set when trying to debug issues causing regressions). 2012-10-25 13:56:30 +00:00
objc_literals.mm Correct test inovocations to use %clang_cc1 rather than direct invocation (so that it can have additional options set when trying to debug issues causing regressions). 2012-10-25 13:56:30 +00:00
objc_methods.h [PCH] Really, pinky swear, fix for PR12689 2012-05-04 01:49:36 +00:00
objc_methods.m Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
objc_property.h
objc_property.m Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
objc_stmts.h
objc_stmts.m Implement AST dumper for Decls. 2012-12-20 02:09:13 +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
ocl_types.cl Re-commit r170428 changes with Linux style file endings. 2012-12-18 14:38:23 +00:00
ocl_types.h Re-commit r170428 changes with Linux style file endings. 2012-12-18 14:38:23 +00:00
opencl-extensions.cl Serialization/deserialization support for floating point #pragma 2011-02-15 19:46:30 +00:00
pch-dir.c Teach the PCH validator to check the preprocessor options, especially 2012-10-24 23:41:50 +00:00
pch-dir.h If the precompiled header named by "-include" is actually a directory, 2012-10-23 06:18:24 +00:00
pch__VA_ARGS__.c Patch for handling C99 veriadic macros when using precompiled headers, 2012-06-29 18:27:59 +00:00
pch__VA_ARGS__.h Patch for handling C99 veriadic macros when using precompiled headers, 2012-06-29 18:27:59 +00:00
pchpch.c
pchpch1.h
pchpch2.h
pending-ids.m Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
pr4489.c
pragma-diag-section.cpp [PCH] The diagnostic state points can refer to previously created 2012-10-30 00:27:21 +00:00
pragma-diag.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
pragma-weak.c
pragma-weak.h
preamble.c [libclang] When getting a source location from a file:line:col triplet 2011-09-19 20:40:35 +00:00
preprocess.c
preprocess.h
pth.c
pth.h
rdar8852495.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
rdar10830559.cpp [PCH] Add a PCH test. 2012-02-09 18:31:19 +00:00
reinclude.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
reinclude1.h Implement AST/PCH chaining support for macro definitions. Previously, 2011-02-11 00:26:14 +00:00
reinclude2.h
reloc.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
remap-file-from-pch.cpp test/PCH/remap-file-from-pch.cpp: Fix expression for DOS pathsep. 2012-05-04 03:42:28 +00:00
remap-file-from-pch.cpp.h [PCH] When validating that the files coming from PCH did not change, also 2012-05-03 21:50:39 +00:00
remap-file-from-pch.cpp.remap.h [PCH] When validating that the files coming from PCH did not change, also 2012-05-03 21:50:39 +00:00
replaced-decl.m Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
selector-warning.h
selector-warning.m
single-token-macro.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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
subscripting-literals.m Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
target-options.c Serialize TargetOptions into an AST file, and make sure that we keep 2012-10-16 23:40:58 +00:00
target-options.h Serialize TargetOptions into an AST file, and make sure that we keep 2012-10-16 23:40:58 +00:00
tentative-defs.c
tentative-defs.h
thread-safety-attrs.cpp [PCH] Reading expressions from attributes should be done using ReadExpr(), 2012-11-15 01:31:39 +00:00
types.c Add a simple PCH test for _Atomic. 2011-10-07 20:08:35 +00:00
types.h Add a simple PCH test for _Atomic. 2011-10-07 20:08:35 +00:00
typo.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
typo.m
typo2.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
va_arg.c
va_arg.cpp
va_arg.h
variables.c Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +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