[llvm-branch-commits] [clang] 45c677d - [clang][test] Make check	pattern shorter
    Tobias Hieta via llvm-branch-commits 
    llvm-branch-commits at lists.llvm.org
       
    Wed Aug 30 08:14:25 PDT 2023
    
    
  
Author: Serge Pavlov
Date: 2023-08-30T17:10:36+02:00
New Revision: 45c677d8c62b731df617181e5019316d0b2e1820
URL: https://github.com/llvm/llvm-project/commit/45c677d8c62b731df617181e5019316d0b2e1820
DIFF: https://github.com/llvm/llvm-project/commit/45c677d8c62b731df617181e5019316d0b2e1820.diff
LOG: [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: https://github.com/llvm/llvm-project/issues/64605.
It has only recently been printed and the relevant commit is not present in
the release/17.x branch.
(cherry picked from commit 8859c644ede4898f90f77dcad2286de08a9ba62e)
Added: 
    
Modified: 
    clang/test/SemaCXX/template-64605.cpp
Removed: 
    
################################################################################
diff  --git a/clang/test/SemaCXX/template-64605.cpp b/clang/test/SemaCXX/template-64605.cpp
index 99ccbfdc27f1c8..9d7f8d41001711 100644
--- a/clang/test/SemaCXX/template-64605.cpp
+++ b/clang/test/SemaCXX/template-64605.cpp
@@ -16,7 +16,7 @@ int f() { return b_64605<void>(); }
 // CHECK:      ImplicitCastExpr {{.*}} 'float' <IntegralToFloating> RoundingMath=1 AllowFEnvAccess=1
 // CHECK-NEXT: IntegerLiteral {{.*}} 4294967295
 
-// CHECK:      FunctionDecl {{.*}} b_64605 'int ()' implicit_instantiation
+// CHECK:      FunctionDecl {{.*}} b_64605 'int ()'
 // CHECK-NEXT: TemplateArgument type 'void'
 
 // CHECK:      ImplicitCastExpr {{.*}} 'float' <IntegralToFloating> RoundingMath=1 AllowFEnvAccess=1
        
    
    
More information about the llvm-branch-commits
mailing list