[clang] [clang]: reflection operator parsing for global namespace and primitive types (PR #164692)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 22 15:51:04 PDT 2025


================
@@ -2164,6 +2164,11 @@ StmtProfiler::VisitLambdaExpr(const LambdaExpr *S) {
   ID.AddInteger(Hasher.CalculateHash());
 }
 
+void StmtProfiler::VisitCXXReflectExpr(const CXXReflectExpr *E) {
+  VisitExpr(E);
+  // TODO:
----------------
Sirraide wrote:

Yes, not implementing this will break any form of AST serialisation (modules, PCHs, etc.)

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


More information about the cfe-commits mailing list