diff --git a/clang-tools-extra/pseudo/test/cxx/capture-list.cpp b/clang-tools-extra/pseudo/test/cxx/capture-list.cpp index 8659a6acae8099..fde46e4f0e0383 100644 --- a/clang-tools-extra/pseudo/test/cxx/capture-list.cpp +++ b/clang-tools-extra/pseudo/test/cxx/capture-list.cpp @@ -1,4 +1,4 @@ -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s // We loosely allow capture defaults in any position/multiple times. auto lambda = [&, &foo, bar(x), =]{}; // CHECK: lambda-introducer := [ capture-list ] diff --git a/clang-tools-extra/pseudo/test/cxx/declarator-function.cpp b/clang-tools-extra/pseudo/test/cxx/declarator-function.cpp index 0de4ec14ffcd05..59dccf993af47b 100644 --- a/clang-tools-extra/pseudo/test/cxx/declarator-function.cpp +++ b/clang-tools-extra/pseudo/test/cxx/declarator-function.cpp @@ -4,7 +4,7 @@ // FIXME: eliminate this false parse. // XFAIL: * -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s void s(){}; // CHECK-NOT: simple-declaration // CHECK: function-definition := decl-specifier-seq declarator diff --git a/clang-tools-extra/pseudo/test/cxx/declarator-var.cpp b/clang-tools-extra/pseudo/test/cxx/declarator-var.cpp index a5adb43dc3c5cb..057ec55b1c9254 100644 --- a/clang-tools-extra/pseudo/test/cxx/declarator-var.cpp +++ b/clang-tools-extra/pseudo/test/cxx/declarator-var.cpp @@ -4,7 +4,7 @@ // FIXME: eliminate this false parse. // XFAIL: * -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s void (*s)(){}; // CHECK-NOT: function-definition // CHECK: init-declarator := declarator initializer diff --git a/clang-tools-extra/pseudo/test/cxx/empty-member-spec.cpp b/clang-tools-extra/pseudo/test/cxx/empty-member-spec.cpp index 6d7a6823d0bf0b..e6dbbddf090621 100644 --- a/clang-tools-extra/pseudo/test/cxx/empty-member-spec.cpp +++ b/clang-tools-extra/pseudo/test/cxx/empty-member-spec.cpp @@ -1,4 +1,4 @@ -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s class Foo { public: }; diff --git a/clang-tools-extra/pseudo/test/cxx/keyword.cpp b/clang-tools-extra/pseudo/test/cxx/keyword.cpp index b58c250c763f08..318db4ccc49b9f 100644 --- a/clang-tools-extra/pseudo/test/cxx/keyword.cpp +++ b/clang-tools-extra/pseudo/test/cxx/keyword.cpp @@ -1,4 +1,4 @@ -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s bool operator<(); // CHECK: translation-unit~simple-declaration := decl-specifier-seq init-declarator-list ; // CHECK-NEXT: ├─decl-specifier-seq~BOOL diff --git a/clang-tools-extra/pseudo/test/cxx/mixed-designator.cpp b/clang-tools-extra/pseudo/test/cxx/mixed-designator.cpp index ec568390ffff56..5a89f4d57a528f 100644 --- a/clang-tools-extra/pseudo/test/cxx/mixed-designator.cpp +++ b/clang-tools-extra/pseudo/test/cxx/mixed-designator.cpp @@ -1,4 +1,4 @@ -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s // FIXME: tighten CHECK to CHECK-NEXT once numeric literals are unambiguous. auto x = { 1, .f = 2, [c]{3} }; // CHECK: initializer-clause~braced-init-list diff --git a/clang-tools-extra/pseudo/test/cxx/parameter-decl-clause.cpp b/clang-tools-extra/pseudo/test/cxx/parameter-decl-clause.cpp index 7de65687e1d15e..18584ded9b5b48 100644 --- a/clang-tools-extra/pseudo/test/cxx/parameter-decl-clause.cpp +++ b/clang-tools-extra/pseudo/test/cxx/parameter-decl-clause.cpp @@ -1,4 +1,4 @@ -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s void foo2(int, ...); // CHECK: translation-unit~simple-declaration := decl-specifier-seq init-declarator-list ; // CHECK-NEXT: ├─decl-specifier-seq~VOID := diff --git a/clang-tools-extra/pseudo/test/cxx/predefined-identifier.cpp b/clang-tools-extra/pseudo/test/cxx/predefined-identifier.cpp index 1a05672835a74e..5d48a3a43d0270 100644 --- a/clang-tools-extra/pseudo/test/cxx/predefined-identifier.cpp +++ b/clang-tools-extra/pseudo/test/cxx/predefined-identifier.cpp @@ -1,4 +1,4 @@ -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s void s() { __func__; // CHECK: expression~__FUNC__ := tok[5] diff --git a/clang-tools-extra/pseudo/test/cxx/template-empty-type-parameter.cpp b/clang-tools-extra/pseudo/test/cxx/template-empty-type-parameter.cpp index e8f48c64d79f3c..02aff285f838c7 100644 --- a/clang-tools-extra/pseudo/test/cxx/template-empty-type-parameter.cpp +++ b/clang-tools-extra/pseudo/test/cxx/template-empty-type-parameter.cpp @@ -1,3 +1,3 @@ -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s template struct MatchParents; // CHECK: template-parameter-list~TYPENAME := tok[2] diff --git a/clang-tools-extra/pseudo/test/cxx/unsized-array.cpp b/clang-tools-extra/pseudo/test/cxx/unsized-array.cpp index 52179e0e2dd414..1f7b106e0e93bc 100644 --- a/clang-tools-extra/pseudo/test/cxx/unsized-array.cpp +++ b/clang-tools-extra/pseudo/test/cxx/unsized-array.cpp @@ -1,4 +1,4 @@ -// RUN: clang-pseudo -grammar=%cxx-bnf-file -source=%s --print-forest | FileCheck %s +// RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s void s(int[]); // CHECK: parameter-declaration-clause~parameter-declaration := decl-specifier-seq abstract-declarator // CHECK-NEXT: ├─decl-specifier-seq~INT := tok[3]