[PATCH] D53700: Support _Clang as a scoped attribute identifier

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 8 15:49:19 PST 2018


ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.

I'm fine with `_Clang` or anything else too. Thanks for doing this!



================
Comment at: lib/Basic/Attributes.cpp:18
   if (ScopeName == "__gnu__")
-    ScopeName = ScopeName.slice(2, ScopeName.size() - 2);
 
----------------
That was a complicated way of doing something simple.


https://reviews.llvm.org/D53700





More information about the cfe-commits mailing list