hanchenye-llvm-project/clang/test/Frontend
Ulrich Weigand 35668cc401 A number of test cases assume that an "int" parameter or return value
will be represented in the IR as a plain "i32" type.  This causes the
tests to spuriously fail on platforms where int is not a 32-bit type,
or where the ABI requires attributes like "signext" or "zeroext" to
be used.

This patch adds -triple or -target parameters to force those tests
to use the i386-unknown-unknown target.

llvm-svn: 166551
2012-10-24 12:22:56 +00:00
..
Inputs Add -isystem-prefix and -ino-system-prefix arguments, which can be used to 2012-06-13 20:27:03 +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 A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
ast-main.c
cpp-output.c
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
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 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
ir-support-codegen.ll
ir-support-errors.ll Escape % in diagnostic message when compiling LLVM IR. 2012-03-16 22:31:42 +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
output-failures.c
preprocessed-output-macro-first-token.c
print-header-includes.c
rewrite-includes-missing.c Remove absolute path form include test. 2012-06-14 19:55:56 +00:00
rewrite-includes.c Rename -rewrite-includes to -frewrite-includes. 2012-06-14 17:36:01 +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
system-header-prefix.c Add -isystem-prefix and -ino-system-prefix arguments, which can be used to 2012-06-13 20:27:03 +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 Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
verify.c Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive. 2012-10-19 12:49:32 +00:00
verify2.c Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive. 2012-10-19 12:49:32 +00:00
verify2.h Update VerifyDiagnosticConsumer to only get directives during parsing. 2012-08-10 01:06:16 +00:00
verify3.c Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive. 2012-10-19 12:49:32 +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 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 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 Basic/Diagnostics: Apparently, #pragma ... diagnostic is intended to override 2011-10-04 21:17:24 +00:00