[clang-tools-extra] r373951 - Attempt to fix a few clang-tidy tests on Windows, see PR43593.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 7 12:54:19 PDT 2019
Author: nico
Date: Mon Oct 7 12:54:19 2019
New Revision: 373951
URL: http://llvm.org/viewvc/llvm-project?rev=373951&view=rev
Log:
Attempt to fix a few clang-tidy tests on Windows, see PR43593.
Modified:
clang-tools-extra/trunk/test/clang-tidy/bugprone-branch-clone.cpp
clang-tools-extra/trunk/test/clang-tidy/bugprone-unhandled-self-assignment.cpp
clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-init-variables.cpp
clang-tools-extra/trunk/test/clang-tidy/misc-redundant-expression.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/bugprone-branch-clone.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/bugprone-branch-clone.cpp?rev=373951&r1=373950&r2=373951&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/bugprone-branch-clone.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/bugprone-branch-clone.cpp Mon Oct 7 12:54:19 2019
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s bugprone-branch-clone %t
+// RUN: %check_clang_tidy %s bugprone-branch-clone %t -- -- -fno-delayed-template-parsing
void test_basic1(int in, int &out) {
if (in > 77)
Modified: clang-tools-extra/trunk/test/clang-tidy/bugprone-unhandled-self-assignment.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/bugprone-unhandled-self-assignment.cpp?rev=373951&r1=373950&r2=373951&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/bugprone-unhandled-self-assignment.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/bugprone-unhandled-self-assignment.cpp Mon Oct 7 12:54:19 2019
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s bugprone-unhandled-self-assignment %t
+// RUN: %check_clang_tidy %s bugprone-unhandled-self-assignment %t -- -- -fno-delayed-template-parsing
namespace std {
Modified: clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-init-variables.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-init-variables.cpp?rev=373951&r1=373950&r2=373951&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-init-variables.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-init-variables.cpp Mon Oct 7 12:54:19 2019
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s cppcoreguidelines-init-variables %t
+// RUN: %check_clang_tidy %s cppcoreguidelines-init-variables %t -- -- -fno-delayed-template-parsing
// Ensure that function declarations are not changed.
void some_func(int x, double d, bool b, const char *p);
Modified: clang-tools-extra/trunk/test/clang-tidy/misc-redundant-expression.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/misc-redundant-expression.cpp?rev=373951&r1=373950&r2=373951&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/misc-redundant-expression.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/misc-redundant-expression.cpp Mon Oct 7 12:54:19 2019
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s misc-redundant-expression %t
+// RUN: %check_clang_tidy %s misc-redundant-expression %t -- -- -fno-delayed-template-parsing
typedef __INT64_TYPE__ I64;
More information about the cfe-commits
mailing list