[clang] [clang]: reflection operator parsing for global namespace and primitive types (PR #164692)
Nhat Nguyen via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 23 13:55:22 PDT 2025
================
@@ -2566,6 +2566,11 @@ void StmtPrinter::VisitCXXUnresolvedConstructExpr(
OS << ')';
}
+void StmtPrinter::VisitCXXReflectExpr(CXXReflectExpr *S) {
+ // TODO: Make this better.
+ OS << "^(...)";
----------------
changkhothuychung wrote:
I think this function is also similar to `StmtProfiler::VisitCXXReflectExpr`, since we dont have a lot of info stored in CXXReflectExpr yet, we can leave it for later. I added a note for `TODO(Reflection)` in the function
https://github.com/llvm/llvm-project/pull/164692
More information about the cfe-commits
mailing list