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.
3333 Clang-format options:
3434
3535 --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.
3737 =unknown - If set, unknown format options are only warned about.
3838 This can be used to enable formatting, even if the
3939 configuration contains unknown (newer) options.
Original file line number Diff line number Diff line change @@ -4970,12 +4970,11 @@ struct FormatStyle {
49704970 // / \version 12
49714971 std::vector<std::string> StatementAttributeLikeMacros;
49724972
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.
49754974 // /
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.
49794978 // /
49804979 // / For example: Q_UNUSED
49814980 // / \version 8
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ enum class WNoError { Unknown };
178178
179179static cl::bits<WNoError> WNoErrorList (
180180 " 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." ),
182182 cl::values(
183183 clEnumValN (WNoError::Unknown, " unknown" ,
184184 " If set, unknown format options are only warned about.\n "
You can’t perform that action at this time.
0 commit comments