[clang] 731292e - Updated the -I option description.

Andrei Lebedev via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 15:40:47 PDT 2020


Author: Andrei Lebedev
Date: 2020-07-31T15:39:12-07:00
New Revision: 731292e5f30074c282d5ea1ebb86bb7adbc9e90e

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

LOG: Updated the -I option description.

Added: 
    

Modified: 
    clang/docs/ClangCommandLineReference.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst
index 1613c8e45318..699a0be72036 100644
--- a/clang/docs/ClangCommandLineReference.rst
+++ b/clang/docs/ClangCommandLineReference.rst
@@ -1014,9 +1014,9 @@ Include path management
 
 Flags controlling how ``#include``\s are resolved to files.
 
-.. option:: -I<dir>, --include-directory <arg>, --include-directory=<arg>
+.. option:: -I<dir>, --include-directory <dir>, --include-directory=<dir>
 
-Add directory to include search path
+Add directory <dir> to the list of include files search paths. If there are multiple -I options, these directories are searched in the order they are given before the standard system directories are searched. If the same directory is in the SYSTEM include search paths, for example if also specified with -isystem, the -I option will be ignored
 
 .. option:: -I-, --include-barrier
 


        


More information about the cfe-commits mailing list