shafik added a comment. MSVC rejects the first but accepts the second which I think is wrong but worth testing:
alignof(struct B {}); sizeof(struct B{}); https://godbolt.org/z/153jYqaPM ================ Comment at: clang/include/clang/Parse/Parser.h:2359 case DeclSpecContext::DSC_template_param: + case DeclSpecContext::DSC_new: return ImplicitTypenameContext::Yes; ---------------- Should this be below since `DeclaratorContext::CXXNew` was grouped w/ `DSC_normal` normal before? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D153857/new/ https://reviews.llvm.org/D153857 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits