[clang] Fixed grammatical error in "enum specifier" error msg #94443 (PR #94592)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 6 05:07:29 PDT 2024


================
@@ -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 "
----------------
Endilll wrote:

The change makes sense now, thank you.

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


More information about the cfe-commits mailing list