[clang-tools-extra] 8131c04 - doc: Document that extra-arg/extra-arg-before can be used several times

Sylvestre Ledru via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 24 04:08:25 PST 2019


Author: Sylvestre Ledru
Date: 2019-12-24T13:07:08+01:00
New Revision: 8131c04836829e7f37f2feaa1d85b4ef62ad092f

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

LOG: doc: Document that extra-arg/extra-arg-before can be used several times

Hopefully, it will help other people

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-doc.rst b/clang-tools-extra/docs/clang-doc.rst
index 328416ee6a38..9be8a8dc31d4 100644
--- a/clang-tools-extra/docs/clang-doc.rst
+++ b/clang-tools-extra/docs/clang-doc.rst
@@ -81,7 +81,9 @@ Options
 
     --doxygen                   - Use only doxygen-style comments to generate docs.
     --extra-arg=<string>        - Additional argument to append to the compiler command line
+                                  Can be used several times.
     --extra-arg-before=<string> - Additional argument to prepend to the compiler command line
+                                  Can be used several times.
     --format=<value>            - Format for outputted docs.
       =yaml                     -   Documentation in YAML format.
       =md                       -   Documentation in MD format.

diff  --git a/clang-tools-extra/docs/clang-rename.rst b/clang-tools-extra/docs/clang-rename.rst
index 2796141f8545..ef6ed9cc0814 100644
--- a/clang-tools-extra/docs/clang-rename.rst
+++ b/clang-tools-extra/docs/clang-rename.rst
@@ -123,7 +123,9 @@ That way you can avoid spelling out all the names as command line arguments:
 
     -export-fixes=<filename>   - YAML file to store suggested fixes in.
     -extra-arg=<string>        - Additional argument to append to the compiler command line
+                                 Can be used several times.
     -extra-arg-before=<string> - Additional argument to prepend to the compiler command line
+                                 Can be used several times.
     -force                     - Ignore nonexistent qualified names.
     -i                         - Overwrite edited <file>s.
     -input=<string>            - YAML file to load oldname-newname pairs from.

diff  --git a/clang-tools-extra/docs/clang-tidy/index.rst b/clang-tools-extra/docs/clang-tidy/index.rst
index 54011c38d32e..4956def46c52 100644
--- a/clang-tools-extra/docs/clang-tidy/index.rst
+++ b/clang-tools-extra/docs/clang-tidy/index.rst
@@ -155,7 +155,9 @@ An overview of all the command-line options:
                                      stored fixes can be applied to the input source
                                      code with clang-apply-replacements.
     --extra-arg=<string>           - Additional argument to append to the compiler command line
+                                     Can be used several times.
     --extra-arg-before=<string>    - Additional argument to prepend to the compiler command line
+                                     Can be used several times.
     --fix                          -
                                      Apply suggested fixes. Without -fix-errors
                                      clang-tidy will bail out if any compilation


        


More information about the cfe-commits mailing list