[test] Fix unused check prefixes in test/AST
authorFangrui Song <i@maskray.me>
Sun, 1 Nov 2020 04:46:45 +0000 (20:46 -0800)
committerFangrui Song <i@maskray.me>
Sun, 1 Nov 2020 04:46:45 +0000 (21:46 -0700)
clang/test/AST/ast-dump-decl.c
clang/test/AST/ast-print-record-decl.c

index 0d6ef76c5231f690397c803daa13b44f967fa81f..0b5a8e93a86d0d6e717194779ea88599e259fa53 100644 (file)
@@ -53,7 +53,7 @@ typedef int TestTypedefDecl;
 // CHECK:      TypedefDecl{{.*}} TestTypedefDecl 'int'
 
 __module_private__ typedef int TestTypedefDeclPrivate;
-// CHECK-MODULE:      TypedefDecl{{.*}} TestTypedefDeclPrivate 'int' __module_private__
+// CHECK-MODULES:      TypedefDecl{{.*}} TestTypedefDeclPrivate 'int' __module_private__
 
 enum TestEnumDecl {
   testEnumDecl
index c27fdf42f337e8ec18b388d78a40319660273dc8..ed2592c3a392214a06376d2d161c092071d4a3c0 100644 (file)
@@ -7,7 +7,7 @@
 //   RUN: | FileCheck --check-prefixes=CHECK,LLVM %s
 //
 //   RUN: %clang_cc1 -verify -ast-print -DKW=struct -DBASES= %s > %t.c
-//   RUN: FileCheck --check-prefixes=CHECK,PRINT,PRINT-C -DKW=struct -DBASES= \
+//   RUN: FileCheck --check-prefixes=CHECK,PRINT -DKW=struct -DBASES= \
 //   RUN:           %s --input-file %t.c
 //
 //   Now check compiling and printing of the printed file.
@@ -19,7 +19,7 @@
 //   RUN: | FileCheck --check-prefixes=CHECK,LLVM %s
 //
 //   RUN: %clang_cc1 -verify -ast-print %t.c \
-//   RUN: | FileCheck --check-prefixes=CHECK,PRINT,PRINT-C -DKW=struct \
+//   RUN: | FileCheck --check-prefixes=CHECK,PRINT -DKW=struct \
 //   RUN:             -DBASES= %s
 
 // Repeat for union:
@@ -31,7 +31,7 @@
 //   RUN: | FileCheck --check-prefixes=CHECK,LLVM %s
 //
 //   RUN: %clang_cc1 -verify -ast-print -DKW=union -DBASES= %s > %t.c
-//   RUN: FileCheck --check-prefixes=CHECK,PRINT,PRINT-C -DKW=union -DBASES= \
+//   RUN: FileCheck --check-prefixes=CHECK,PRINT -DKW=union -DBASES= \
 //   RUN:           %s --input-file %t.c
 //
 //   Now check compiling and printing of the printed file.
@@ -43,7 +43,7 @@
 //   RUN: | FileCheck --check-prefixes=CHECK,LLVM %s
 //
 //   RUN: %clang_cc1 -verify -ast-print %t.c \
-//   RUN: | FileCheck --check-prefixes=CHECK,PRINT,PRINT-C -DKW=union \
+//   RUN: | FileCheck --check-prefixes=CHECK,PRINT -DKW=union \
 //   RUN:             -DBASES= %s
 
 // Repeat for C++ (BASES helps ensure we're printing as C++ not as C):