[clang] 96289ce - [test] Fix unused check prefixes in test/AST
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 31 21:46:52 PDT 2020
Author: Fangrui Song
Date: 2020-10-31T21:46:45-07:00
New Revision: 96289ce6333ebf5a8405f824eaf02ef528e09de9
URL: https://github.com/llvm/llvm-project/commit/96289ce6333ebf5a8405f824eaf02ef528e09de9
DIFF: https://github.com/llvm/llvm-project/commit/96289ce6333ebf5a8405f824eaf02ef528e09de9.diff
LOG: [test] Fix unused check prefixes in test/AST
Added:
Modified:
clang/test/AST/ast-dump-decl.c
clang/test/AST/ast-print-record-decl.c
Removed:
################################################################################
diff --git a/clang/test/AST/ast-dump-decl.c b/clang/test/AST/ast-dump-decl.c
index 0d6ef76c5231..0b5a8e93a86d 100644
--- a/clang/test/AST/ast-dump-decl.c
+++ b/clang/test/AST/ast-dump-decl.c
@@ -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
diff --git a/clang/test/AST/ast-print-record-decl.c b/clang/test/AST/ast-print-record-decl.c
index c27fdf42f337..ed2592c3a392 100644
--- a/clang/test/AST/ast-print-record-decl.c
+++ b/clang/test/AST/ast-print-record-decl.c
@@ -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):
More information about the cfe-commits
mailing list