diff options
author | Oleksandr T. <oleksandr.tarasiuk@outlook.com> | 2025-07-08 11:36:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-08 11:36:52 +0300 |
commit | 2e8e254d18f51b6ca898bf0b1e4d12109b5b16c7 (patch) | |
tree | 4db5463a3fccb7d5aaa2679774f0eebd858b48a9 /clang/test/AST/ByteCode | |
parent | 763131ba7f247a36894a33c9d295b2253d88f9c1 (diff) | |
download | llvm-2e8e254d18f51b6ca898bf0b1e4d12109b5b16c7.zip llvm-2e8e254d18f51b6ca898bf0b1e4d12109b5b16c7.tar.gz llvm-2e8e254d18f51b6ca898bf0b1e4d12109b5b16c7.tar.bz2 |
[Clang] include attribute scope in diagnostics (#144619)
This patch updates diagnostics to print fully qualified attribute names,
including scope when present.
Diffstat (limited to 'clang/test/AST/ByteCode')
-rw-r--r-- | clang/test/AST/ByteCode/functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/AST/ByteCode/functions.cpp b/clang/test/AST/ByteCode/functions.cpp index a767d10..b5e6f5b 100644 --- a/clang/test/AST/ByteCode/functions.cpp +++ b/clang/test/AST/ByteCode/functions.cpp @@ -637,7 +637,7 @@ namespace { namespace { /// The InitListExpr here is of void type. - void bir [[clang::annotate("B", {1, 2, 3, 4})]] (); // both-error {{'annotate' attribute requires parameter 1 to be a constant expression}} \ + void bir [[clang::annotate("B", {1, 2, 3, 4})]] (); // both-error {{'clang::annotate' attribute requires parameter 1 to be a constant expression}} \ // both-note {{subexpression not valid in a constant expression}} } |