to268 added a comment. Also i'm not sure if must add C2x to this condition just in case (falling back or add an assertion)
================ Comment at: clang/lib/Sema/DeclSpec.cpp:1362 // type specifier. if (S.getLangOpts().CPlusPlus && TypeSpecType == TST_unspecified && StorageClassSpec == SCS_auto) { ---------------- Do we need to include C2x just in case? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133289/new/ https://reviews.llvm.org/D133289 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits