[clang] [clang]: support std::meta::info for primitive types (PR #190356)

Daniel M. Katz via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 4 08:25:08 PDT 2026


================
@@ -126,6 +126,8 @@ TargetInfo::TargetInfo(const llvm::Triple &T) : Triple(T) {
   LongDoubleAlign = 64;
   Float128Align = 128;
   Ibm128Align = 128;
+  MetaInfoWidth = 64;
+  MetaInfoAlign = 64;
----------------
katzdm wrote:

I don't believe it's specified. There was some discussion in...can't remember whether EWG or LEWG...as to whether or not we should; I don't believe there was consensus to standardize it.

https://github.com/llvm/llvm-project/pull/190356


More information about the cfe-commits mailing list