[clang-tools-extra] adbc37d - [clang-tidy] Fix incorrect command-line option in docs (#111405)

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 7 11:37:06 PDT 2024


Author: hill
Date: 2024-10-07T20:37:00+02:00
New Revision: adbc37d999b5949779830ffa7dbff54cb78862cb

URL: https://github.com/llvm/llvm-project/commit/adbc37d999b5949779830ffa7dbff54cb78862cb
DIFF: https://github.com/llvm/llvm-project/commit/adbc37d999b5949779830ffa7dbff54cb78862cb.diff

LOG: [clang-tidy] Fix incorrect command-line option in docs (#111405)

Updated the `HeaderFilterRegex` description to reference
`--header-filter` instead of the incorrect `--header-filter-regex` in
the clang-tidy documentation.

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/index.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-tidy/index.rst b/clang-tools-extra/docs/clang-tidy/index.rst
index e38141bdb8be1f..a4233d5d8e2694 100644
--- a/clang-tools-extra/docs/clang-tidy/index.rst
+++ b/clang-tools-extra/docs/clang-tidy/index.rst
@@ -287,7 +287,7 @@ An overview of all the command-line options:
     FormatStyle                  - Same as '--format-style'.
     HeaderFileExtensions         - File extensions to consider to determine if a
                                    given diagnostic is located in a header file.
-    HeaderFilterRegex            - Same as '--header-filter-regex'.
+    HeaderFilterRegex            - Same as '--header-filter'.
     ImplementationFileExtensions - File extensions to consider to determine if a
                                    given diagnostic is located in an
                                    implementation file.


        


More information about the cfe-commits mailing list