aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Misc/diag-mapping.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-04Add 'not' to commands that are expected to fail.Rafael Espindola1-3/+3
This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar1-9/+9
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
2009-11-08Eliminate &&s in tests.Daniel Dunbar1-8/+8
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
2009-04-15add another sanity check for -Werror=xxChris Lattner1-0/+3
llvm-svn: 69157
2009-04-15add a missing &&Chris Lattner1-1/+1
llvm-svn: 69156
2009-04-15fix a broken test, that passed for the wrong reason. Two wrongs make a ↵Chris Lattner1-1/+1
right! :) llvm-svn: 69155
2009-04-15Rejigger how -pedantic and -pedantic-errors work and their interactionChris Lattner1-0/+27
with other diagnostic mapping. In the new scheme, -Wfoo or -Wno-foo or -Werror=foo all override the -pedantic options, and __extension__ robustly silences all extension diagnostics in their scope. An added bonus of this change is that MAP_DEFAULT goes away, meaning that per-diagnostic mapping information can now be stored in 2 bits, doubling the density of the Diagnostic::DiagMapping array. This also substantially simplifies Diagnostic::getDiagnosticLevel. OTOH, this temporarily introduces some "macro intensive" code in Diagnostic.cpp. This will be addressed in a later patch. llvm-svn: 69154