r364108 - Fix has_attribute.cpp test on Windows after r364102

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 21 15:28:53 PDT 2019


Author: rnk
Date: Fri Jun 21 15:28:52 2019
New Revision: 364108

URL: http://llvm.org/viewvc/llvm-project?rev=364108&view=rev
Log:
Fix has_attribute.cpp test on Windows after r364102

Modified:
    cfe/trunk/test/Preprocessor/has_attribute.cpp

Modified: cfe/trunk/test/Preprocessor/has_attribute.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/has_attribute.cpp?rev=364108&r1=364107&r2=364108&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/has_attribute.cpp (original)
+++ cfe/trunk/test/Preprocessor/has_attribute.cpp Fri Jun 21 15:28:52 2019
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple i386-unknown-unknown -fms-compatibility -std=c++11 -E %s -o - | FileCheck %s --check-prefixes=CHECK,ITANIUM --implicit-check-not=:
-// RUN: %clang_cc1 -triple i386-windows -fms-compatibility -std=c++11 -E %s -o - | FileCheck %s --check-prefixes=CHECK,WINDOWS --implicit-check-not=:
+// RUN: %clang_cc1 -triple i386-unknown-unknown -fms-compatibility -std=c++11 -E -P %s -o - | FileCheck %s --check-prefixes=CHECK,ITANIUM --implicit-check-not=:
+// RUN: %clang_cc1 -triple i386-windows -fms-compatibility -std=c++11 -E -P %s -o - | FileCheck %s --check-prefixes=CHECK,WINDOWS --implicit-check-not=:
 
 #define CXX11(x) x: __has_cpp_attribute(x)
 




More information about the cfe-commits mailing list