Skip to content

Commit 3998ad4

Browse files
committed
Squash: Addressed review comments from Erich Keane.
1 parent b274bb5 commit 3998ad4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

clang/docs/CommandGuide/clang.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -733,11 +733,13 @@ ENVIRONMENT
733733

734734
.. envvar:: CPATH
735735

736-
This environment variable specifies additional header file search paths which
737-
behave as if they were specified with the :option:`-I\<directory\>` option at
738-
the end of the driver command line. Paths are delimited by the platform
739-
dependent delimiter as used in the ``PATH`` environment variable. Empty
740-
components in the environment variable are ignored.
736+
This environment variable specifies additional (non-system) header search
737+
paths to be used to find included header files. These paths are searched after
738+
paths specified with the :option:`-I\<directory\>` option, but before any
739+
system header search paths. Paths are delimited by the platform dependent
740+
delimiter as used in the ``PATH`` environment variable. Empty entries in the
741+
delimited path list are ignored. The treatment of empty entries differs from
742+
gcc which treats them as specifying the compiler's current working directory.
741743

742744
.. envvar:: C_INCLUDE_PATH, OBJC_INCLUDE_PATH, CPLUS_INCLUDE_PATH, OBJCPLUS_INCLUDE_PATH
743745

0 commit comments

Comments
 (0)