[clang] [clang] require template arg list after template kw (PR #80801)

Davis Herring via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 07:17:18 PST 2024


================
@@ -1414,7 +1414,7 @@ namespace dr96 { // dr96: no
     // FIXME: This is ill-formed, because 'f' is not a template-id and does not
----------------
opensdh wrote:

I'm not sure what direction of "superseded" you mean here, but (except for the separable alias-template bit) the comment is simply correct (since CWG96; before that any template would do).  All that P1787R6 did here was correct the strange use of "name" to refer to (among other things) a *template-id* and deprecate the `T::template NestedTypeTemplate` case.

https://github.com/llvm/llvm-project/pull/80801


More information about the cfe-commits mailing list