[PATCH] D148148: [clang] Bump AS_GNU to 1

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 12 10:52:42 PDT 2023


erichkeane added inline comments.


================
Comment at: clang/include/clang/Basic/AttributeCommonInfo.h:28
     /// __attribute__((...))
-    AS_GNU,
+    AS_GNU = 1,
 
----------------
Note for others: we're now at 11 items (10 items + starting at 1), stored in 4 bits.  So this doesn't cause problems.  In the future, once we're sure the '0' case isn't being used/abused for a while (god help my downstream...), we can start re-using 0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148148



More information about the cfe-commits mailing list