llvm-project/clang/test/Frontend
Andy Gibbs c1f152ee6c Provide -verify support to match "any" line for diagnostics in included files.
Allow diagnostic checks that originate in included files to be matched without necessarily determining the line number that the diagnostic occurs on.  The new syntax replaces the line number with '*'.  This extension is limited to diagnostics in included files and may be used where the include file is not part of the test-suite itself.

Expected uses are for diagnostics originating in system headers, or for users who use -verify in testing 3rd-party library code where the location of diagnostics in header files may change from revision to revision and their precise location is not important to the success of the test-case.

llvm-svn: 212735
2014-07-10 16:43:29 +00:00
..
Inputs write a line marker right before adding included file 2014-05-01 21:11:57 +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
backend-diagnostic.c Make '-Werror=frame-larger-than=' and associated diagnostic pragmas GCC-compatible 2014-06-09 23:59:38 +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 Fix r195149. Triple should correctly reflect that target. If it contains ios, 2014-01-26 23:12:43 +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
disable-output.c Fix leak from r210059 2014-06-03 17:23:34 +00:00
exceptions.c Do not predefine __EXCEPTIONS in clang-cl (PR19977) 2014-06-10 20:46:38 +00:00
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
ir-support.c Account for differences in grep implementations 2014-06-27 03:11:38 +00:00
lit.local.cfg Remove .bc from test config.suffixes 2014-06-27 02:04:21 +00:00
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
optimization-remark-line-directive.c Don't generate assembly in backend diagnostic tests 2014-06-06 11:20:58 +00:00
optimization-remark.c Simplify optimization-remark.c test following r211610 2014-06-24 19:23:10 +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: /showIncludes output should go to stdout, not stderr. Fixes PR20217. 2014-07-06 03:04:24 +00:00
rewrite-includes-bom.c Fix test on Windows 2013-11-28 05:55:40 +00:00
rewrite-includes-cli-include.c do not use "1" for line marker for the predefines "file" either 2014-05-01 21:10:08 +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-messages.c -fsyntax-only for a test 2014-05-01 23:58:20 +00:00
rewrite-includes-missing.c write a line marker right before adding included file 2014-05-01 21:11:57 +00:00
rewrite-includes-modules.c write a line marker right before adding included file 2014-05-01 21:11:57 +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 write a line marker right before adding included file 2014-05-01 21:11:57 +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
stdlang.c No longer allow the -std options to entirely override the -x language option. This allows -x cuda -std=c++11, for instance. 2014-05-29 16:39:42 +00:00
system-header-prefix.c Move the -i[no-]system-prefix options from CC1Options.td to Options.td. 2014-03-26 01:39:59 +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 Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
verify-fatal.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
verify.c Provide -verify support to match "any" line for diagnostics in included files. 2014-07-10 16:43:29 +00:00
verify2.c Provide -verify support to match "any" line for diagnostics in included files. 2014-07-10 16:43:29 +00:00
verify2.h Provide -verify support to match "any" line for diagnostics in included files. 2014-07-10 16:43:29 +00:00
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
windows-nul.c Simplify test. No functional change intended. 2014-04-30 10:04:58 +00:00
x86_64-nacl-types.cpp Move remaining %clang_cc1 tests out of test/Driver 2013-11-16 06:20:17 +00:00