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

Nhat Nguyen via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 15:51:16 PDT 2026


================
@@ -4521,6 +4521,23 @@ bool Compiler<Emitter>::VisitObjCArrayLiteral(const ObjCArrayLiteral *E) {
   return this->emitError(E);
 }
 
+template <class Emitter>
+bool Compiler<Emitter>::VisitCXXReflectExpr(const CXXReflectExpr *E) {
+  if (DiscardResult)
+    return true;
+
+  switch (E->getKind()) {
+  case ReflectionKind::Type: {
+    APValue Result(ReflectionKind::Type, E->getOpaqueValue());
----------------
changkhothuychung wrote:

I'm sorry, its my fault. The diff is probably kinda lag that it pointed me to another file in previous loads 
😅. Now I agree with you question, let me fix it. 

Sorry for the confusion again. 

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


More information about the cfe-commits mailing list