Skip to content

Commit 91a5558

Browse files
hokeinyuxuanchen1997
authored andcommitted
[clang] Fix the broken DeductionGuide ToolingTests after c7bfc41
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251115
1 parent fdd6f48 commit 91a5558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/unittests/Tooling/RecursiveASTVisitorTests/DeductionGuide.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ TEST(RecursiveASTVisitor, DeductionGuideNonImplicitMode) {
3737
// Verify that the synthezied deduction guide for alias is not visited in
3838
// RAV's implicit mode.
3939
Visitor.ExpectMatch("Foo(T) -> Foo<int>", 11, 1);
40-
Visitor.DisallowMatch("Bar(type-parameter-0-0) -> Foo<int>", 14, 1);
40+
Visitor.DisallowMatch("Bar(T) -> Foo<int>", 14, 1);
4141
EXPECT_TRUE(Visitor.runOver(
4242
R"cpp(
4343
template <typename T>
@@ -61,7 +61,7 @@ Bar s(1);
6161
TEST(RecursiveASTVisitor, DeductionGuideImplicitMode) {
6262
DeductionGuideVisitor Visitor(/*ShouldVisitImplicitCode*/ true);
6363
Visitor.ExpectMatch("Foo(T) -> Foo<int>", 11, 1);
64-
Visitor.ExpectMatch("Bar(type-parameter-0-0) -> Foo<int>", 14, 1);
64+
Visitor.ExpectMatch("Bar(T) -> Foo<int>", 14, 1);
6565
EXPECT_TRUE(Visitor.runOver(
6666
R"cpp(
6767
template <typename T>

0 commit comments

Comments
 (0)