[PATCH] D144405: [clang][pp] Handle attributes defined by plugin in __has_attribute

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 10 07:54:20 PST 2023


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

So here's a potential idea for future development:  It isn't uncommon/untypical for an attribute to want to return something other than '1', for 'version' (usually an integral value representing a date).  The standard attributes all do this.  It might be worth looking into some infrastructure to do that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144405



More information about the cfe-commits mailing list