Skip to content

Commit 8859c64

Browse files
committed
[clang][test] Make check pattern shorter
A check pattern in clang/test/SemaCXX/template-64605.cpp contains template specialization kind (the text "implicit_instantiation"). It does not need to be checked and can be safely removed. Presence of this text in the check pattern prevents from backporting some commits to the release branch: #64605. It has only recently been printed and the relevant commit is not present in the release/17.x branch.
1 parent 6f0ca01 commit 8859c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaCXX/template-64605.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ int f() { return b_64605<void>(); }
1616
// CHECK: ImplicitCastExpr {{.*}} 'float' <IntegralToFloating> RoundingMath=1 AllowFEnvAccess=1
1717
// CHECK-NEXT: IntegerLiteral {{.*}} 4294967295
1818

19-
// CHECK: FunctionDecl {{.*}} b_64605 'int ()' implicit_instantiation
19+
// CHECK: FunctionDecl {{.*}} b_64605 'int ()'
2020
// CHECK-NEXT: TemplateArgument type 'void'
2121

2222
// CHECK: ImplicitCastExpr {{.*}} 'float' <IntegralToFloating> RoundingMath=1 AllowFEnvAccess=1

0 commit comments

Comments
 (0)