Skip to content

Commit 9e2f12d

Browse files
committed
Migrate clang-tidy tests away from -fno-delayed-template-parsing
1 parent 2950201 commit 9e2f12d

File tree

74 files changed

+92
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+92
-108
lines changed

clang-tools-extra/test/clang-tidy/checkers/bugprone/branch-clone.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %check_clang_tidy %s bugprone-branch-clone %t -- -- -fno-delayed-template-parsing
1+
// RUN: %check_clang_tidy %s bugprone-branch-clone %t
22

33
void test_basic1(int in, int &out) {
44
if (in > 77)

clang-tools-extra/test/clang-tidy/checkers/bugprone/crtp-constructor-accessibility.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %check_clang_tidy -std=c++11-or-later %s bugprone-crtp-constructor-accessibility %t -- -- -fno-delayed-template-parsing
1+
// RUN: %check_clang_tidy -std=c++11-or-later %s bugprone-crtp-constructor-accessibility %t
22

33
namespace class_implicit_ctor {
44
template <typename T>

clang-tools-extra/test/clang-tidy/checkers/bugprone/infinite-loop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %check_clang_tidy %s bugprone-infinite-loop %t \
2-
// RUN: -- -- -fexceptions -fblocks -fno-delayed-template-parsing
2+
// RUN: -- -- -fexceptions -fblocks
33

44
void simple_infinite_loop1() {
55
int i = 0;

clang-tools-extra/test/clang-tidy/checkers/bugprone/move-forwarding-reference.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %check_clang_tidy -std=c++14-or-later %s bugprone-move-forwarding-reference %t -- -- -fno-delayed-template-parsing
1+
// RUN: %check_clang_tidy -std=c++14-or-later %s bugprone-move-forwarding-reference %t
22

33
namespace std {
44
template <typename> struct remove_reference;

clang-tools-extra/test/clang-tidy/checkers/bugprone/return-const-ref-from-parameter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %check_clang_tidy %s bugprone-return-const-ref-from-parameter %t -- -- -fno-delayed-template-parsing
1+
// RUN: %check_clang_tidy %s bugprone-return-const-ref-from-parameter %t
22

33
using T = int;
44
using TConst = int const;

clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: %check_clang_tidy %s bugprone-sizeof-expression %t \
2-
// RUN: -- -config="{CheckOptions: {bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression: true}}" \
3-
// RUN: -- -fno-delayed-template-parsing
2+
// RUN: -- -config="{CheckOptions: {bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression: true}}"
43

54
class C {
65
int size() { return sizeof(this); }

clang-tools-extra/test/clang-tidy/checkers/bugprone/string-integer-assignment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %check_clang_tidy %s bugprone-string-integer-assignment %t -- -- -fno-delayed-template-parsing
1+
// RUN: %check_clang_tidy %s bugprone-string-integer-assignment %t
22

33
namespace std {
44
template<typename T>

clang-tools-extra/test/clang-tidy/checkers/bugprone/switch-missing-default-case.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %check_clang_tidy %s bugprone-switch-missing-default-case %t -- -- -fno-delayed-template-parsing
1+
// RUN: %check_clang_tidy %s bugprone-switch-missing-default-case %t
22

33
typedef int MyInt;
44
enum EnumType { eE2 };

clang-tools-extra/test/clang-tidy/checkers/bugprone/unhandled-self-assignment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %check_clang_tidy %s bugprone-unhandled-self-assignment %t -- -- -fno-delayed-template-parsing
1+
// RUN: %check_clang_tidy %s bugprone-unhandled-self-assignment %t
22

33
namespace std {
44

clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-raii.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %check_clang_tidy %s bugprone-unused-raii %t -- -- -fno-delayed-template-parsing
1+
// RUN: %check_clang_tidy %s bugprone-unused-raii %t
22

33
struct Foo {
44
Foo();

0 commit comments

Comments
 (0)