Author: James Y Knight Date: 2021-11-09T16:59:45-05:00 New Revision: 50082e1882ae7fe101e563c5e18a27e0804d517b
URL: https://github.com/llvm/llvm-project/commit/50082e1882ae7fe101e563c5e18a27e0804d517b DIFF: https://github.com/llvm/llvm-project/commit/50082e1882ae7fe101e563c5e18a27e0804d517b.diff LOG: Fix test after aee49255074fd4ef38d97e6e70cbfbf2f9fd0fa7. (Apparently no buildbots enable both examples and plugins!) Added: Modified: clang/test/Frontend/plugin-attribute.cpp Removed: ################################################################################ diff --git a/clang/test/Frontend/plugin-attribute.cpp b/clang/test/Frontend/plugin-attribute.cpp index f02932d56c687..8b38e57974bbb 100644 --- a/clang/test/Frontend/plugin-attribute.cpp +++ b/clang/test/Frontend/plugin-attribute.cpp @@ -9,7 +9,7 @@ void fn1a() __attribute__((example)) {} [[plugin::example]] void fn1c() {} void fn2() __attribute__((example("somestring", 1, 2.0))) {} // CHECK-COUNT-4: -AnnotateAttr 0x{{[0-9a-z]+}} {{<col:[0-9]+(, col:[0-9]+)?>}} "example" -// CHECK: -StringLiteral 0x{{[0-9a-z]+}} {{<col:[0-9]+(, col:[0-9]+)?>}} 'const char [{{[0-9]+}}]' lvalue "somestring" +// CHECK: -StringLiteral 0x{{[0-9a-z]+}} {{<col:[0-9]+(, col:[0-9]+)?>}} 'const char[{{[0-9]+}}]' lvalue "somestring" // CHECK: -IntegerLiteral 0x{{[0-9a-z]+}} {{<col:[0-9]+(, col:[0-9]+)?>}} 'int' 1 // CHECK: -FloatingLiteral 0x{{[0-9a-z]+}} {{<col:[0-9]+(, col:[0-9]+)?>}} 'double' 2.000000e+00 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits