diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-06-01 19:08:34 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-06-01 19:08:34 +0000 |
commit | e397992a6204455301c7d67d25025422eeec98a0 (patch) | |
tree | 6c15907dec463013c387e52df8873f2ac225569f /test/Misc | |
parent | c86544f5d26415750cabc3fa8edc9071809ca76a (diff) |
Add compatibility alias for -Wno-#warnings
GCC uses -Wno-cpp for this, so seems reasonable to add an alias to
match.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Misc')
-rw-r--r-- | test/Misc/diag-mapping2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Misc/diag-mapping2.c b/test/Misc/diag-mapping2.c index 672d0548ad..c3afea94b3 100644 --- a/test/Misc/diag-mapping2.c +++ b/test/Misc/diag-mapping2.c @@ -4,6 +4,7 @@ // This should not emit anything. // RUN: %clang_cc1 %s -w 2>&1 | not grep diagnostic // RUN: %clang_cc1 %s -Wno-#warnings 2>&1 | not grep diagnostic +// RUN: %clang_cc1 %s -Wno-cpp 2>&1 | not grep diagnostic // -Werror can map all warnings to error. // RUN: not %clang_cc1 %s -Werror 2>&1 | grep "error: foo" |