hanchenye-llvm-project/clang/test/Modules/Inputs
Jordan Rose b13eb8dca5 Allow -verify directives to be filtered by preprocessing.
This is accomplished by making VerifyDiagnosticsConsumer a CommentHandler,
which then only reads the -verify directives that are actually in live
blocks of code. It also makes it simpler to handle -verify directives that
appear in header files, though we still have to manually reparse some files
depending on how they are generated.

This requires some test changes. In particular, all PCH tests now have their
-verify directives outside the "header" portion of the file, using the @line
syntax added in r159978. Other tests have been modified mostly to make it
clear what is being tested, and to prevent polluting the expected output with
the directives themselves.

Patch by Andy Gibbs! (with slight modifications)

The new Frontend/verify-* tests exercise the functionality of this commit,
as well as r159978, r159979, and r160053 (Andy's other -verify enhancements).

llvm-svn: 160068
2012-07-11 19:58:23 +00:00
..
AlsoDependsOnModule.framework/Headers
CmdLine.framework/Headers
DependsOnModule.framework Re-uglify #public and #private to #__public_macro and #__private_macro. 2012-01-03 19:48:16 +00:00
Module.framework Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
MutuallyRecursive1.framework/Headers Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
MutuallyRecursive2.framework/Headers Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
NoUmbrella.framework Introduce module attributes into the module map grammar, along with a 2012-01-27 19:52:33 +00:00
System/usr/include Back out my heinous hack that tricked the module generation mechanism 2012-02-02 18:42:48 +00:00
normal-module-map
subdir Test module lookup within a subdirectory of a normal include directory. 2012-01-29 16:43:46 +00:00
submodules
wildcard-submodule-exports Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
MethodPoolA.h Whenever Sema attempts to look in the global method pool, try to load 2012-01-25 00:59:09 +00:00
MethodPoolB.h Whenever Sema attempts to look in the global method pool, try to load 2012-01-25 00:59:09 +00:00
category_bottom.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
category_left.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
category_other.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
category_right.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
category_top.h Reimplement (de-)serialization of Objective-C categories to eliminate 2012-01-27 01:47:08 +00:00
decl.h
decl2.h
def-include.h When inferring a submodule ID during module creation, look up the 2012-01-06 17:19:32 +00:00
def.h When inferring a submodule ID during module creation, look up the 2012-01-06 17:19:32 +00:00
diamond.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
diamond_bottom.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
diamond_left.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
diamond_right.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
diamond_top.h
import-decl.h Fix ASTReader handling of ImportDecls, from Meador Inge! 2012-05-16 16:31:58 +00:00
irgen.h
load_failure.h
lookup_left.h
lookup_left.hpp
lookup_right.h
lookup_right.hpp
macros.h Re-uglify #public and #private to #__public_macro and #__private_macro. 2012-01-03 19:48:16 +00:00
module.map Fix ASTReader handling of ImportDecls, from Meador Inge! 2012-05-16 16:31:58 +00:00
module_private_left.h When performing name lookup for a redeclaration, ignore module 2011-12-20 18:11:52 +00:00
module_private_right.h When performing name lookup for a redeclaration, ignore module 2011-12-20 18:11:52 +00:00
namespaces-left.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
namespaces-right.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
namespaces-top.h When deserializing an anonymous namespace from a module, do not attach 2012-01-09 18:07:24 +00:00
point.h
redecl-merge-bottom.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
redecl-merge-left-left.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
redecl-merge-left.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
redecl-merge-right.h Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
redecl-merge-top-explicit.h When we're performing name lookup for a tag, we still allow ourselves 2012-01-05 01:11:47 +00:00
redecl-merge-top.h Implement cross-module declaration merging for tag declarations, so 2012-01-03 22:46:00 +00:00
redecl_namespaces_left.h There's some code in the PCH reader that looks like it's needlessly complex, but 2012-04-12 07:56:21 +00:00
redecl_namespaces_right.h There's some code in the PCH reader that looks like it's needlessly complex, but 2012-04-12 07:56:21 +00:00
redeclarations_left.h
redeclarations_right.h