[Lldb-commits] [clang] [lldb] [clang]: support std::meta::info for primitive types (PR #190356)
Nhat Nguyen via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 22 14:48:46 PDT 2026
================
@@ -10954,6 +10965,27 @@ ASTNodeImporter::ImportAPValue(const APValue &FromValue) {
} else
Result.setLValue(Base, Offset, APValue::NoLValuePath{},
FromValue.isNullPointer());
+ break;
+ }
+ case APValue::Reflection: {
+ switch (FromValue.getReflectionOperandKind()) {
+ case ReflectionKind::Null:
+ Result = APValue(ReflectionKind::Null, nullptr);
+ break;
+ case ReflectionKind::Type: {
+ const auto *FromTSI = static_cast<const TypeSourceInfo *>(
+ FromValue.getReflectionOpaqueOperand());
+ QualType ImpType = importChecked(Err, FromTSI->getType());
----------------
changkhothuychung wrote:
I changed to use `importChecked`, thanks for the review!
https://github.com/llvm/llvm-project/pull/190356
More information about the lldb-commits
mailing list