[PATCH] D120387: [clang-tidy][run-clang-tidy.py] Whitespace addition

Shreyas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 22 23:09:59 PST 2022


SAtacker updated this revision to Diff 410719.
SAtacker added a comment.

Attempt to update this commit appropriately


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120387/new/

https://reviews.llvm.org/D120387

Files:
  clang-tools-extra/clang-tidy/tool/run-clang-tidy.py


Index: clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
===================================================================
--- clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
+++ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -96,7 +96,7 @@
 
 def get_tidy_invocation(f, clang_tidy_binary, checks, tmpdir, build_path,
                         header_filter, allow_enabling_alpha_checkers,
-                        extra_arg, extra_arg_before, quiet, config_path, 
+                        extra_arg, extra_arg_before, quiet, config_path,
                         config, line_filter, use_color):
   """Gets a command line for clang-tidy."""
   start = [clang_tidy_binary]
@@ -235,10 +235,10 @@
                       'attempt to find a file named .clang-tidy for '
                       'each source file in its parent directories.')
   group.add_argument('-config-file', default=None,
-                      help='Specify the path of .clang-tidy or custom config'
-                      ' file: e.g. -config-file=/some/path/myTidyConfigFile'
-                      'This option internally works exactly the same way as'
-                      '-config option after reading specified config file.'
+                      help='Specify the path of .clang-tidy or custom config '
+                      'file: e.g. -config-file=/some/path/myTidyConfigFile. '
+                      'This option internally works exactly the same way as '
+                      '-config option after reading specified config file. '
                       'Use either -config-file or -config, not both.')
   parser.add_argument('-header-filter', default=None,
                       help='regular expression matching the names of the '
@@ -292,7 +292,7 @@
                                      None, build_path, args.header_filter,
                                      args.allow_enabling_alpha_checkers,
                                      args.extra_arg, args.extra_arg_before,
-                                     args.quiet, args.config_path, args.config, 
+                                     args.quiet, args.config_path, args.config,
                                      args.line_filter, args.use_color)
     invocation.append('-list-checks')
     invocation.append('-')


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120387.410719.patch
Type: text/x-patch
Size: 2283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220223/d166f55e/attachment.bin>


More information about the cfe-commits mailing list