[PATCH] D31343: Add an attribute plugin example
Sorawee Porncharoenwase via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 5 10:24:37 PST 2020
sorawee added inline comments.
================
Comment at: clang/test/Frontend/plugin-attribute.cpp:16
+void fn3() {
+ // BADATTRIBUTE: error: 'example' attribute only allowed at file scop
+ int var2 __attribute__((example));
----------------
Typo: scope
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D31343/new/
https://reviews.llvm.org/D31343
More information about the cfe-commits
mailing list