[PATCH] D31343: Add an attribute plugin example

John Brawn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 24 07:30:00 PDT 2020


john.brawn updated this revision to Diff 252309.
john.brawn added a comment.

A few small changes:

- Don't start C++11 spelling with :: (changes to name normalisation to allow this are in D76704 <https://reviews.llvm.org/D76704>)
- Don't check that the Decl is null in diagAppertainsToDecl
- Return AttributeNotApplied on errors in handleDeclAttribute


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D31343/new/

https://reviews.llvm.org/D31343

Files:
  clang/docs/ClangPlugins.rst
  clang/examples/Attribute/Attribute.cpp
  clang/examples/Attribute/CMakeLists.txt
  clang/examples/CMakeLists.txt
  clang/test/CMakeLists.txt
  clang/test/Frontend/plugin-attribute.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31343.252309.patch
Type: text/x-patch
Size: 6404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200324/a47509b9/attachment-0001.bin>


More information about the cfe-commits mailing list