aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/HeaderSearchOptions.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-13 03:45:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-13 03:45:58 +0000
commit1e69fe3a9f0a42b32a3000bda51677d51416564e (patch)
tree6f30f101008f663dd37d5e0cb143c98d879bdb05 /include/clang/Frontend/HeaderSearchOptions.h
parent8ec2d4ae203b36ecbd5838f2e856015abc52c76d (diff)
CompilerInvocation: Move builtin-include-path logic out of CompilerInvocation::CreateFromArgs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/HeaderSearchOptions.h')
-rw-r--r--include/clang/Frontend/HeaderSearchOptions.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Frontend/HeaderSearchOptions.h b/include/clang/Frontend/HeaderSearchOptions.h
index 67129775ac..fdc4d810cb 100644
--- a/include/clang/Frontend/HeaderSearchOptions.h
+++ b/include/clang/Frontend/HeaderSearchOptions.h
@@ -65,6 +65,9 @@ public:
/// will be searched following the user and environment includes.
std::string BuiltinIncludePath;
+ /// Include the compiler builtin includes.
+ unsigned UseBuiltinIncludes : 1;
+
/// Include the system standard include search directories.
unsigned UseStandardIncludes : 1;
@@ -73,7 +76,8 @@ public:
public:
HeaderSearchOptions(llvm::StringRef _Sysroot = "/")
- : Sysroot(_Sysroot), UseStandardIncludes(true), Verbose(false) {}
+ : Sysroot(_Sysroot), UseBuiltinIncludes(true),
+ UseStandardIncludes(true), Verbose(false) {}
/// AddPath - Add the \arg Path path to the specified \arg Group list.
void AddPath(llvm::StringRef Path, frontend::IncludeDirGroup Group,