hanchenye-llvm-project/clang/test/Frontend
Alp Toker 120dd1afaf Add tests for clang plugins
Somehow the entire plugin infrastructure went wholly untested until now.

The only plugins available for use in testing are the examples, so plugin tests
will only be run if CLANG_BUILD_EXAMPLES is enabled in the build.

(The examples should really be enabled by default, not just to aid testing but
also to prevent bitrot in some key user-facing code. I'll propose that
shortly.)

Requires supporting changes in LLVM r198746.

llvm-svn: 198747
2014-01-08 11:38:47 +00:00
..
Inputs strip UTF-8 BOM in -frewrite-includes (PR#15664) 2013-11-27 21:14:43 +00:00
Weverything.c
Wno-everything.c
ast-codegen.c A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
ast-main.c
ast-main.cpp Delayed template parsing is not supported by the AST serialization system yet, so turning it off. This fixes a test breakage caused by r177336. 2013-03-21 19:38:59 +00:00
cc1-return-codes.c Indicate success for simple options when clang called with -cc1. 2013-08-07 12:54:47 +00:00
cpp-output.c
darwin-eabi.c ARM: embedded v7 'darwin' doesn't get min-version defines. 2013-11-19 20:18:39 +00:00
darwin-version.c Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
dependency-gen-escaping.c Escape # and $ in dependency files. 2013-04-02 13:38:48 +00:00
dependency-gen.c
dependency-generation-crash.c
diagnostics-option-names.c
hexagon-target-basic.c hexagon-target-basic.c test: add REQUIRES line for hexagon target 2013-01-02 22:30:14 +00:00
iframework.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
invalid-o-level.c Remove period at end of "optimization level is unsupported" diagnostic 2013-11-18 22:10:17 +00:00
ir-support-codegen.ll Override the datalayout in a module with -triple. 2013-12-20 22:01:25 +00:00
ir-support-errors.ll Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
lit.local.cfg
macros.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
mfpmath.c Move -mfpmath handling to -cc1 and implement it for x86. 2013-08-21 21:59:03 +00:00
mips-long-double.c Move remaining %clang_cc1 tests out of test/Driver 2013-11-16 06:20:17 +00:00
output-failures.c Update for llvm::sys::fs::unique_file not creating directories. 2013-06-28 03:49:04 +00:00
plugins.c Add tests for clang plugins 2014-01-08 11:38:47 +00:00
preprocessed-output-macro-first-token.c
print-header-includes.c clang-cl: Support /showIncludes 2013-08-09 00:32:23 +00:00
rewrite-includes-bom.c Fix test on Windows 2013-11-28 05:55:40 +00:00
rewrite-includes-eof.c Fix raw lex crash and -frewrite-includes noeol-at-eof failure 2013-12-13 17:04:55 +00:00
rewrite-includes-header-cmd-line.c [frontend] '-frewrite-includes' should not ignore headers included from command-line. 2013-07-26 15:32:04 +00:00
rewrite-includes-invalid-hasinclude.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
rewrite-includes-missing.c [frontend] -frewrite-includes: if there was no inclusion, don't add lineinfo that indicates return from another file. 2013-04-10 01:53:37 +00:00
rewrite-includes-modules.c [frontend] -frewrite-includes: turn implicit module imports into @imports. 2013-04-10 01:53:50 +00:00
rewrite-includes-warnings.c avoid bogus warnings about "unknown" pragmas with -frewrite-includes (pr#14831) 2013-07-20 14:30:01 +00:00
rewrite-includes.c clang/test/Frontend/rewrite-includes.c: Tweak expressions for r'\\', not r'\', on win32. 2013-08-29 16:11:17 +00:00
rewrite-macros.c Follow Jordan's advice and use {{^}} and {{$}} for this test 2013-04-11 18:39:10 +00:00
stdin.c
system-header-prefix.c Try to fix the test for Windows paths after r196859 2013-12-10 02:00:48 +00:00
undef.c
unknown-pragmas.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
verify-directive.h
verify-fatal.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
verify.c Fix "existant" typos 2013-10-29 02:34:44 +00:00
verify2.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
verify2.h
verify3.c Fix test that was not being run 2013-11-05 12:45:40 +00:00
warning-mapping-1.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
warning-mapping-2.c
warning-mapping-3.c
warning-mapping-4.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
warning-mapping-5.c
warning-options.cpp [driver] Warnings for warning options are handled by the frontend. The driver needs to process the 2013-01-15 01:21:53 +00:00
x86_64-nacl-types.cpp Move remaining %clang_cc1 tests out of test/Driver 2013-11-16 06:20:17 +00:00