Skip to content

Commit 8680d99

Browse files
authored
Update DiagnosticParseKinds.td in accordance to error related to auto class declarations
1 parent ab8c853 commit 8680d99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/include/clang/Basic/DiagnosticParseKinds.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ def err_typename_invalid_constexpr : Error<
449449
"to be specified">;
450450
def err_typename_identifiers_only : Error<
451451
"typename is allowed for identifiers only">;
452+
def err_storage_class_before_class_decl : Error<
453+
"'%0' is not allowed before a class declaration">;
452454

453455
def err_friend_invalid_in_context : Error<
454456
"'friend' used outside of class">;

0 commit comments

Comments
 (0)