[clang] 0dbeffd - [clang][utils] Minor tweak to make-ast-dump-check.sh

Bruno Ricci via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 21 06:03:05 PDT 2020


Author: Bruno Ricci
Date: 2020-06-21T13:59:10+01:00
New Revision: 0dbeffddd1decda612f00e552c35cbcdb59907ab

URL: https://github.com/llvm/llvm-project/commit/0dbeffddd1decda612f00e552c35cbcdb59907ab
DIFF: https://github.com/llvm/llvm-project/commit/0dbeffddd1decda612f00e552c35cbcdb59907ab.diff

LOG: [clang][utils] Minor tweak to make-ast-dump-check.sh

Remove the space after the "CHECK:" on each line. This space makes the use
of FileCheck --match-full-lines impossible.

Added: 
    

Modified: 
    clang/utils/make-ast-dump-check.sh

Removed: 
    


################################################################################
diff  --git a/clang/utils/make-ast-dump-check.sh b/clang/utils/make-ast-dump-check.sh
index 4e8a1c198608..f0c268c883e9 100755
--- a/clang/utils/make-ast-dump-check.sh
+++ b/clang/utils/make-ast-dump-check.sh
@@ -74,11 +74,11 @@ BEGIN {
 }
 
 matched_last_line == 0 {
-  print "// ${prefix}: " s
+  print "// ${prefix}:" s
 }
 
 matched_last_line == 1 {
-  print "// ${prefix}-NEXT: " s
+  print "// ${prefix}-NEXT:" s
 }
 
 {


        


More information about the cfe-commits mailing list