llvm-project/clang/test/Frontend
Benjamin Kramer 778b8b84b8 Escape % in diagnostic message when compiling LLVM IR.
% is a common character in IR so we'd crash on almost any malformed IR. The
diagnostic formatter expects a formatting directive when it sees an unescaped %.

llvm-svn: 152956
2012-03-16 22:31:42 +00:00
..
Inputs Frontend: Support -iframework. 2011-10-18 20:40:38 +00:00
Weverything.c Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings. 2011-09-29 01:58:05 +00:00
Wno-everything.c Add test for -Wno-everything. 2012-01-27 07:10:14 +00:00
ast-codegen.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
ast-main.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
cpp-output.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
darwin-version.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
dependency-gen.c test/Frontend/dependency-gen.c: Relax expressions for Win32 host (mingw msys). 2011-11-17 07:21:33 +00:00
dependency-generation-crash.c Fixes a crash when generating dependency file stuff 2011-04-15 18:49:23 +00:00
diagnostics-option-names.c Basic/Diagnostics: Add an isDefaultMappingAsError method, and switch TextDiagnosticPrinter to use that instead of extracting the current mapping via getDiagnosticLevel, which fixes one class of corner cases w.r.t. printing the "-Werror" diagnostic option marker. 2011-09-29 01:01:08 +00:00
iframework.c Frontend: Support -iframework. 2011-10-18 20:40:38 +00:00
ir-support-codegen.ll These tests require particular registered targets. Declared as such. 2011-06-04 04:38:16 +00:00
ir-support-errors.ll Escape % in diagnostic message when compiling LLVM IR. 2012-03-16 22:31:42 +00:00
lit.local.cfg tests: Update Frontend config to actually run ir-support tests. 2010-06-16 20:04:36 +00:00
macros.c Fix PR5982, a refacto in checking for '=' in a -D argument. 2010-01-10 00:46:21 +00:00
output-failures.c
preprocessed-output-macro-first-token.c add a testcase, from Michael Spencer 2010-06-15 18:56:20 +00:00
print-header-includes.c Frontend: Add basic -H support. 2010-08-24 22:44:13 +00:00
rewrite-macros.c Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
stdin.c
undef.c The macros defined by the language standard are still available even when the 2011-06-07 06:07:12 +00:00
unknown-pragmas.c Preprocessor: Ignore unknown pragmas in -E -dM and -Eonly modes. 2010-06-11 20:10:12 +00:00
warning-mapping-1.c tests: Add some more tests for warning mappings. 2011-09-29 01:37:40 +00:00
warning-mapping-2.c Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings. 2011-09-29 01:58:05 +00:00
warning-mapping-3.c tests: Add some more tests for warning mappings. 2011-09-29 01:37:40 +00:00
warning-mapping-4.c Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings. 2011-09-29 01:58:05 +00:00
warning-mapping-5.c Basic/Diagnostics: Apparently, #pragma ... diagnostic is intended to override 2011-10-04 21:17:24 +00:00