Skip to content

Commit d78fccd

Browse files
committed
Squash: Correct documentation regardling the handling of empty entries in path lists.
1 parent 3998ad4 commit d78fccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/docs/CommandGuide/clang.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,8 +738,8 @@ ENVIRONMENT
738738
paths specified with the :option:`-I\<directory\>` option, but before any
739739
system header search paths. Paths are delimited by the platform dependent
740740
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.
741+
delimited path list, including those at the beginning or end of the list, are
742+
treated as specifying the compiler's current working directory.
743743

744744
.. envvar:: C_INCLUDE_PATH, OBJC_INCLUDE_PATH, CPLUS_INCLUDE_PATH, OBJCPLUS_INCLUDE_PATH
745745

0 commit comments

Comments
 (0)