-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Closed
Labels
clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzergood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute
Description
Clang throws ungrammatical error message for alias.
Old:
error: type alias 'A' cannot be referenced with a enum specifier
New:
error: type alias 'A' cannot be referenced with the 'enum' specifier
This can be rephrased for other cases as well, ex:
template<class T> using A = int;
struct A s;
Metadata
Metadata
Assignees
Labels
clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzergood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute