[PATCH] D80836: Support GCC [[gnu::attributes]] in C2x mode

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 1 06:55:49 PDT 2020


erichkeane added inline comments.


================
Comment at: clang/utils/TableGen/ClangAttrEmitter.cpp:65
-    bool Unset;
-    K = Spelling.getValueAsBitOrUnset("KnownToGCC", Unset);
   }
----------------
aaron.ballman wrote:
> erichkeane wrote:
> > Doesn't this result in 'K' being uninitialized now?  
> `K` is still being initialized by the ctor init list above on line 56.
Isn't that in a different constructor?


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

https://reviews.llvm.org/D80836





More information about the cfe-commits mailing list