[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 09:47:16 PDT 2025


================
@@ -1848,6 +1848,11 @@ def err_placeholder_expected_auto_or_decltype_auto : Error<
   "expected 'auto' or 'decltype(auto)' after concept name">;
 }
 
+let CategoryName = "Reflection Issue" in {
+def err_cannot_reflect_operand : Error<
+  "cannot reflect the provided operand">;
----------------
changkhothuychung wrote:

Do we want to also print the operand? As in in the code when we have `^^x` that's not reflectable, do we want to print `x`, do we also want to specify what kind of type/expression x is that's not reflectable? 

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


More information about the cfe-commits mailing list