[clang-tools-extra] df4cf0b - [clang-tidy] Fixes a typo in the help message.
Mark de Wever via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 31 10:43:42 PDT 2023
Author: Mark de Wever
Date: 2023-10-31T18:41:36+01:00
New Revision: df4cf0b937fdbcfad407883b74b56ded981b2d9c
URL: https://github.com/llvm/llvm-project/commit/df4cf0b937fdbcfad407883b74b56ded981b2d9c
DIFF: https://github.com/llvm/llvm-project/commit/df4cf0b937fdbcfad407883b74b56ded981b2d9c.diff
LOG: [clang-tidy] Fixes a typo in the help message.
It contained 'thewarnings' without a space. It also fixes some odd
formatting in the text introduced by
commit dd3c26a045c081620375a878159f536758baba6e
Author: Tobias Hieta <tobias at hieta.se>
Date: Wed May 17 10:56:49 2023 +0200
[NFC][Py Reformat] Reformat python files in clang and clang-tools-extra
Added:
Modified:
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
index 179759216196f88..70f8cbcdcb2f11f 100755
--- a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
+++ b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -257,7 +257,7 @@ def main():
parser.add_argument(
"-allow-enabling-alpha-checkers",
action="store_true",
- help="allow alpha checkers from " "clang-analyzer.",
+ help="allow alpha checkers from clang-analyzer.",
)
parser.add_argument(
"-clang-tidy-binary", metavar="PATH", help="path to clang-tidy binary"
@@ -270,7 +270,7 @@ def main():
parser.add_argument(
"-checks",
default=None,
- help="checks filter, when not specified, use clang-tidy " "default",
+ help="checks filter, when not specified, use clang-tidy default",
)
config_group = parser.add_mutually_exclusive_group()
config_group.add_argument(
@@ -303,7 +303,7 @@ def main():
parser.add_argument(
"-line-filter",
default=None,
- help="List of files with line ranges to filter the" "warnings.",
+ help="List of files with line ranges to filter the warnings.",
)
if yaml:
parser.add_argument(
@@ -335,12 +335,12 @@ def main():
)
parser.add_argument("-fix", action="store_true", help="apply fix-its")
parser.add_argument(
- "-format", action="store_true", help="Reformat code " "after applying fixes"
+ "-format", action="store_true", help="Reformat code after applying fixes"
)
parser.add_argument(
"-style",
default="file",
- help="The style of reformat " "code after applying fixes",
+ help="The style of reformat code after applying fixes",
)
parser.add_argument(
"-use-color",
@@ -359,14 +359,14 @@ def main():
dest="extra_arg",
action="append",
default=[],
- help="Additional argument to append to the compiler " "command line.",
+ help="Additional argument to append to the compiler command line.",
)
parser.add_argument(
"-extra-arg-before",
dest="extra_arg_before",
action="append",
default=[],
- help="Additional argument to prepend to the compiler " "command line.",
+ help="Additional argument to prepend to the compiler command line.",
)
parser.add_argument(
"-quiet", action="store_true", help="Run clang-tidy in quiet mode"
@@ -381,7 +381,7 @@ def main():
parser.add_argument(
"-warnings-as-errors",
default=None,
- help="Upgrades warnings to errors. Same format as " "'-checks'",
+ help="Upgrades warnings to errors. Same format as '-checks'",
)
args = parser.parse_args()
More information about the cfe-commits
mailing list