[PATCH] D51507: Allow all supportable attributes to be used with #pragma clang attribute.

Kristina Brooks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 30 17:50:27 PDT 2018


kristina added a comment.

LGTM.

Would allow for less repetition, ie. `always_inline` is an excellent candidate for cases like small functions that act as wrappers around bits of context sensitive inline asm and are usually clustered together in a header, a lot of embedded use cases come to mind, same goes for `alias`. Considering that everyone may have their own niche use cases for attributes, I think that's a very convenient change.


Repository:
  rC Clang

https://reviews.llvm.org/D51507





More information about the cfe-commits mailing list