[clang-tools-extra] r264362 - clang-tools-extra/test/clang-tidy/readability-redundant-string-cstr.cpp: Appease MS targets with -fno-ms-compatibility.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 17:05:33 PDT 2016


Author: chapuni
Date: Thu Mar 24 19:05:33 2016
New Revision: 264362

URL: http://llvm.org/viewvc/llvm-project?rev=264362&view=rev
Log:
clang-tools-extra/test/clang-tidy/readability-redundant-string-cstr.cpp: Appease MS targets with -fno-ms-compatibility.

FIXME: Add a test with  -fms-compatibility.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/readability-redundant-string-cstr.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/readability-redundant-string-cstr.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/readability-redundant-string-cstr.cpp?rev=264362&r1=264361&r2=264362&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/readability-redundant-string-cstr.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/readability-redundant-string-cstr.cpp Thu Mar 24 19:05:33 2016
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s readability-redundant-string-cstr %t
+// RUN: %check_clang_tidy %s readability-redundant-string-cstr %t -- -- -fno-ms-compatibility
 
 namespace std {
 template <typename T>




More information about the cfe-commits mailing list