[libcxx-commits] [PATCH] D119567: [libcxx] String format class marked as packed

Hubert Tong via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 11 15:05:26 PST 2022


hubert.reinterpretcast added inline comments.


================
Comment at: libcxx/include/__format/parser_std_format_spec.h:111
   _Type __type{_Type::__default};
-};
+} __attribute__((packed));
 
----------------
Use double-underscore form to avoid macro problems.

Actually, are we assuming GNU attribute support in general "everywhere"?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119567



More information about the libcxx-commits mailing list