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

Erick Velez via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 06:12:36 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
     // name a class template.
     // FIXME: What about alias templates?
----------------
evelez7 wrote:

The use of 'template' before an alias template is [deprecated](https://eel.is/c++draft/depr.template.template), along with before a class template. I wasn't sure how to interpret this for clang, they aren't errors yet?

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


More information about the cfe-commits mailing list