summaryrefslogtreecommitdiffstats
path: root/clang/docs/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-10-11 18:20:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-10-11 18:20:16 +0000
commit0f41eee2a06178a5d766246126dedff978e59ebc (patch)
treee3975a5f852fc778d443d9c29c51b80bbdfb9790 /clang/docs/tools
parentb25bfde52db2f368fa473727ab5bdeb8d3233f5e (diff)
downloadbcm5719-llvm-0f41eee2a06178a5d766246126dedff978e59ebc.tar.gz
bcm5719-llvm-0f41eee2a06178a5d766246126dedff978e59ebc.zip
Driver: Add support for a new -nostdlibinc option.
- This disables the system include directories, but not the compiler builtin directories. Useful for projects that want to use things like the intrinsic headers, but are otherwise freestanding. - I'm willing to reconsider the option naming, I also considered providing an explicit -builtinc (which would match -nobuiltininc), but this is more consistent with existing options. llvm-svn: 141692
Diffstat (limited to 'clang/docs/tools')
-rw-r--r--clang/docs/tools/clang.pod8
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/docs/tools/clang.pod b/clang/docs/tools/clang.pod
index 704cc8743ba..964b143ac9e 100644
--- a/clang/docs/tools/clang.pod
+++ b/clang/docs/tools/clang.pod
@@ -459,7 +459,13 @@ Add the specified directory to the search path for framework include files.
=item B<-nostdinc>
-Do not search the standard system directories for include files.
+Do not search the standard system directories or compiler builtin directories
+for include files.
+
+=item B<-nostdlibinc>
+
+Do not search the standard system directories for include files, but do search
+compiler builting include directories.
=item B<-nobuiltininc>
OpenPOWER on IntegriCloud