[clang] 2c3ee88 - [Sema][test] Fix implicit-int-float-conversion.c on Windows

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 23 18:52:17 PDT 2020


Author: Fangrui Song
Date: 2020-04-23T18:52:04-07:00
New Revision: 2c3ee8812c14ab13203de22e0d0ece90f4a8291e

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

LOG: [Sema][test] Fix implicit-int-float-conversion.c on Windows

Added: 
    

Modified: 
    clang/test/Sema/implicit-int-float-conversion.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Sema/implicit-int-float-conversion.c b/clang/test/Sema/implicit-int-float-conversion.c
index f2a2838b6406..f3ad08e4111a 100644
--- a/clang/test/Sema/implicit-int-float-conversion.c
+++ b/clang/test/Sema/implicit-int-float-conversion.c
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 %s -verify
-// RUN: %clang_cc1 %s -verify -Wno-implicit-int-float-conversion -Wimplicit-const-int-float-conversion
-// RUN: %clang_cc1 %s -DNONCONST=1 -verify -Wimplicit-int-float-conversion
+// RUN: %clang_cc1 %s -verify -Wno-constant-conversion
+// RUN: %clang_cc1 %s -verify -Wno-constant-conversion -Wno-implicit-int-float-conversion -Wimplicit-const-int-float-conversion
+// RUN: %clang_cc1 %s -DNONCONST=1 -verify -Wno-constant-conversion -Wimplicit-int-float-conversion
 
 #ifdef NONCONST
 long testReturn(long a, float b) {


        


More information about the cfe-commits mailing list