[clang] [clang]: reflection operator parsing for global namespace and primitive types (PR #164692)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 22 14:04:05 PDT 2025
================
@@ -1208,6 +1208,13 @@ Parser::ParseCastExpression(CastParseKind ParseKind, bool isAddressOfOperand,
AllowSuffix = false;
Res = ParseUnaryExprOrTypeTraitExpression();
break;
+ case tok::caretcaret: {
+ if (getLangOpts().Reflection) {
----------------
erichkeane wrote:
Else case here feels like a bad idea?
https://github.com/llvm/llvm-project/pull/164692
More information about the cfe-commits
mailing list