================ @@ -1385,6 +1385,12 @@ Parser::isCXXDeclarationSpecifier(ImplicitTypenameContext AllowImplicitTypename, if (!getLangOpts().ObjC && Next.is(tok::identifier)) return TPResult::True; + if (Next.is(tok::l_paren) && ---------------- MitalAshok wrote:
We might need a comment above this like: ```c++ // If this identifier was reverted from a token ID, and the next token // is a '(', this is likely to be a use of a type trait. If it is, this // can never be a type name. ``` 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