rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
Seems reasonable.
================
Comment at: clang/test/Sema/pragma-clang-section.c:2
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple arm-none-eabi
-#pragma clang section bss="mybss.1" data="mydata.1" rodata="myrodata.1"
text="mytext.1"
+#pragma clang section bss = "mybss.1" data = "mydata.1" rodata = "myrodata.1"
text = "mytext.1" // expected-note {{#pragma entered here}} expected-note
{{#pragma entered here}}
#pragma clang section bss="" data="" rodata="" text=""
----------------
You can use `expected-note 2 {{#pragma entered here]}` to expect the same
diagnostic twice.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78572/new/
https://reviews.llvm.org/D78572
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits