diff options
author | Reid Kleckner <rnk@google.com> | 2017-11-27 23:42:20 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-11-27 23:42:20 +0000 |
commit | ca47944a2c9f7c7fb66f0c812c28c16e2f3286fb (patch) | |
tree | 6039a1612856abf7bbbc1d1926256ae1542620bb /test/Driver | |
parent | a53551a7f5896106e856c32dceecf83c126607f6 (diff) |
[clang-cl] Alias /Wall to -Weverything
cl interprets this option to mean enable every supported warning, which
is what Clang's -Weverything flag does.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver')
-rw-r--r-- | test/Driver/cl-options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Driver/cl-options.c b/test/Driver/cl-options.c index 2435ba2932..b8a0166e7a 100644 --- a/test/Driver/cl-options.c +++ b/test/Driver/cl-options.c @@ -255,9 +255,10 @@ // RUN: %clang_cl /W2 -### -- %s 2>&1 | FileCheck -check-prefix=W1 %s // RUN: %clang_cl /W3 -### -- %s 2>&1 | FileCheck -check-prefix=W1 %s // RUN: %clang_cl /W4 -### -- %s 2>&1 | FileCheck -check-prefix=W4 %s -// RUN: %clang_cl /Wall -### -- %s 2>&1 | FileCheck -check-prefix=W4 %s +// RUN: %clang_cl /Wall -### -- %s 2>&1 | FileCheck -check-prefix=Weverything %s // W1: -Wall // W4: -WCL4 +// Weverything: -Weverything // RUN: %clang_cl /WX -### -- %s 2>&1 | FileCheck -check-prefix=WX %s // WX: -Werror |