[clang] c835dca - [Driver][test] Add -Wno-msvc-not-found to %clang_cl -WX tests that don't want the diagnostic

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 29 21:45:45 PDT 2023


Author: Fangrui Song
Date: 2023-07-29T21:45:41-07:00
New Revision: c835dcaccf8ef46a7aa8f535ae7a55a862c426c4

URL: https://github.com/llvm/llvm-project/commit/c835dcaccf8ef46a7aa8f535ae7a55a862c426c4
DIFF: https://github.com/llvm/llvm-project/commit/c835dcaccf8ef46a7aa8f535ae7a55a862c426c4.diff

LOG: [Driver][test] Add -Wno-msvc-not-found to %clang_cl -WX tests that don't want the diagnostic

similar to 2a1edebdf1a887fdf01f039d60497626576c837b

Added: 
    

Modified: 
    clang/test/Driver/cl-options.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index 324360e6b6424c..11096ad55b59ae 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -290,7 +290,7 @@
 // W4: -WCL4
 // Weverything: -Weverything
 
-// RUN: not %clang_cl /WX -### -- %s 2>&1 | FileCheck -check-prefix=WX %s
+// RUN: %clang_cl /WX -Wno-msvc-not-found -### -- %s 2>&1 | FileCheck -check-prefix=WX %s
 // WX: -Werror
 
 // RUN: %clang_cl /WX- -### -- %s 2>&1 | FileCheck -check-prefix=WX_ %s


        


More information about the cfe-commits mailing list