[clang] [clang]: reflection operator parsing for global namespace and primitive types (PR #164692)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 23 09:56:07 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">;
----------------
Sirraide wrote:
> So this diagnostic should probably be more specific in what the operand is;
Regarding what I said earlier here, I’m not sure what situation I was thinking about when I wrote this, because I don’t think there is a way to be more specific here...
https://github.com/llvm/llvm-project/pull/164692
More information about the cfe-commits
mailing list