diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index 60c650583801a..0161b3953f282 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -821,6 +821,7 @@ As well as one of the following: The warning can be resolved by removing one of the conditions above. In rough order of preference, this may be done by: + 1. Marking the object ``const`` (if possible) 2. Moving the object's definition to a source file 3. Giving the object non-hidden visibility, e.g. using ``__attribute((visibility("default")))``.