================ @@ -1385,6 +1385,12 @@ Parser::isCXXDeclarationSpecifier(ImplicitTypenameContext AllowImplicitTypename, if (!getLangOpts().ObjC && Next.is(tok::identifier)) return TPResult::True; + if (Next.is(tok::l_paren) && + Tok.getIdentifierInfo()->hasRevertedTokenIDToIdentifier() && + isRevertibleTypeTrait(Tok.getIdentifierInfo())) { ---------------- MitalAshok wrote:
You can set the correct `tok::TokenKind` here too since it will be set later anyway when this is re-parsed as an expression https://github.com/llvm/llvm-project/pull/95969 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits