Skip to content

Commit 5739d03

Browse files
committed
update doc
1 parent 68c9409 commit 5739d03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ compilation options on the command line after ``--``:
3333
3434
$ clang-tidy test.cpp -- -Imy_project/include -DMY_DEFINES ...
3535
36+
If there are too many options to specify on the command line, you can store them
37+
in a parameter file, and use :program:`clang-tidy` with parameters file:
38+
39+
.. code-block:: console
40+
41+
$ clang-tidy @parameters_file
42+
3643
:program:`clang-tidy` has its own checks and can also run Clang Static Analyzer
3744
checks. Each check has a name and the checks to run can be chosen using the
3845
``-checks=`` option, which specifies a comma-separated list of positive and

0 commit comments

Comments
 (0)