================
@@ -6088,9 +6088,9 @@ def err_redefinition_different_concept : Error<
   "redefinition of concept %0 with different template parameters or 
requirements">;
 def err_tag_reference_non_tag : Error<
   "%select{non-struct type|non-class type|non-union type|non-enum "
-  "type|typedef|type alias|template|type alias template|template "
-  "template argument}1 %0 cannot be referenced with a "
-  "%select{struct|interface|union|class|enum}2 specifier">;
+  "type|typedef|type alias|template|alias template|template "
----------------
sdkrystian wrote:

I think this is using the standard term "alias template" as defined in 
[[temp.alias] p1](http://eel.is/c++draft/temp.alias#1). As for "type alias", 
the standard doesn't refer to _alias-declarations_ by any other name. I suppose 
the pedantically correct phrasing would be to refer to `typedef`s and 
_alias-declarations_ as _typedef-names_.

https://github.com/llvm/llvm-project/pull/94592
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to