File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ to format C/C++/Java/JavaScript/JSON/Objective-C/Protobuf/C# code.
33
33
Clang-format options:
34
34
35
35
--Werror - If set, changes formatting warnings to errors
36
- --Wno-error=<value> - If set don't error out on the specified warning type.
36
+ --Wno-error=<value> - If set, don't error out on the specified warning type.
37
37
=unknown - If set, unknown format options are only warned about.
38
38
This can be used to enable formatting, even if the
39
39
configuration contains unknown (newer) options.
Original file line number Diff line number Diff line change @@ -4970,12 +4970,11 @@ struct FormatStyle {
4970
4970
// / \version 12
4971
4971
std::vector<std::string> StatementAttributeLikeMacros;
4972
4972
4973
- // / A vector of macros that should be interpreted as complete
4974
- // / statements.
4973
+ // / A vector of macros that should be interpreted as complete statements.
4975
4974
// /
4976
- // / Typical macros are expressions, and require a semi-colon to be
4977
- // / added; sometimes this is not the case, and this allows to make
4978
- // / clang-format aware of such cases.
4975
+ // / Typical macros are expressions and require a semicolon to be added.
4976
+ // / Sometimes this is not the case, and this allows to make clang-format aware
4977
+ // / of such cases.
4979
4978
// /
4980
4979
// / For example: Q_UNUSED
4981
4980
// / \version 8
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ enum class WNoError { Unknown };
178
178
179
179
static cl::bits<WNoError> WNoErrorList (
180
180
" Wno-error" ,
181
- cl::desc (" If set don't error out on the specified warning type." ),
181
+ cl::desc (" If set, don't error out on the specified warning type." ),
182
182
cl::values(
183
183
clEnumValN (WNoError::Unknown, " unknown" ,
184
184
" If set, unknown format options are only warned about.\n "
You can’t perform that action at this time.
0 commit comments