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

via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 4 08:41:30 PDT 2026


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

I see; since you can’t e.g. `bit_cast` this anyway it doesn’t really matter what this value is so this is fine, but we should add a comment that explains that then

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


More information about the cfe-commits mailing list