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

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 13:50:57 PDT 2026


================
@@ -828,6 +829,11 @@ class TargetInfo : public TransferrableTargetInfo,
   unsigned getIbm128Align() const { return Ibm128Align; }
   const llvm::fltSemantics &getIbm128Format() const { return *Ibm128Format; }
 
+  /// Returns the size of std::meta::info.
+  unsigned getMetaInfoWidth() const { return MetaInfoWidth; }
+  /// Returns the align of std::meta::info.
+  unsigned getMetaInfoAlign() const { return MetaInfoAlign; }
+
----------------
Sirraide wrote:

Tihs matches what GCC is doing from what I saw

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


More information about the cfe-commits mailing list