[PATCH] D93095: Introduce -Wreserved-identifier
Matheus Izvekov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 3 16:29:22 PST 2021
mizvekov added a comment.
There is a GNU extension where the linker provides symbols for section / start end, and using these with this patch would produce a warning.
Example:
`
[[gnu::section(foo)]] void bar() {}
extern "C" void __start_foo();
extern "C" void __stop_foo();
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93095/new/
https://reviews.llvm.org/D93095
More information about the cfe-commits
mailing list