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

Daniel M. Katz via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 22 14:07:05 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">;
----------------
katzdm wrote:

Now that we're upstreaming, how hard would it be to render the operand into the diagnostic?

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


More information about the cfe-commits mailing list