[clang] [clang]: support std::meta::info for primitive types (PR #190356)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 4 08:06:58 PDT 2026
================
@@ -515,6 +515,10 @@ llvm::Type *CodeGenTypes::ConvertType(QualType T) {
ResultType = llvm::PointerType::getUnqual(getLLVMContext());
break;
+ case BuiltinType::MetaInfo:
+ ResultType = llvm::IntegerType::get(getLLVMContext(), 64);
+ break;
----------------
Sirraide wrote:
I feel like this should just be `llvm_unreachable()`, which is how we handle e.g. dependent types here
https://github.com/llvm/llvm-project/pull/190356
More information about the cfe-commits
mailing list