[clang-tools-extra] r183983 - Force c++98 so this works on windows where c++11 is the default.

Rafael Espindola rafael.espindola at gmail.com
Fri Jun 14 09:09:37 PDT 2013


Author: rafael
Date: Fri Jun 14 11:09:37 2013
New Revision: 183983

URL: http://llvm.org/viewvc/llvm-project?rev=183983&view=rev
Log:
Force c++98 so this works on windows where c++11 is the default.

Modified:
    clang-tools-extra/trunk/test/cpp11-migrate/UseNullptr/basic.cpp

Modified: clang-tools-extra/trunk/test/cpp11-migrate/UseNullptr/basic.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/cpp11-migrate/UseNullptr/basic.cpp?rev=183983&r1=183982&r2=183983&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/cpp11-migrate/UseNullptr/basic.cpp (original)
+++ clang-tools-extra/trunk/test/cpp11-migrate/UseNullptr/basic.cpp Fri Jun 14 11:09:37 2013
@@ -1,6 +1,6 @@
 // RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
 // RUN: grep -Ev "// *[A-Z-]+:" %S/Inputs/basic.h > %T/basic.h
-// RUN: cpp11-migrate -use-nullptr %t.cpp -- -I %S
+// RUN: cpp11-migrate -use-nullptr %t.cpp -- -std=c++98 -I %S
 // RUN: FileCheck -input-file=%t.cpp %s
 // RUN: FileCheck -input-file=%T/basic.h %S/Inputs/basic.h
 





More information about the cfe-commits mailing list