aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/clang/Lex/HeaderSearchOptions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clang/Lex/HeaderSearchOptions.h b/include/clang/Lex/HeaderSearchOptions.h
index e5b52b3032..bdf7b43f46 100644
--- a/include/clang/Lex/HeaderSearchOptions.h
+++ b/include/clang/Lex/HeaderSearchOptions.h
@@ -108,6 +108,13 @@ public:
/// etc.).
std::string ResourceDir;
+ /// Compiler install dir as detected by the Driver.
+ /// This is typically the directory that contains the clang executable, i.e.
+ /// the 'bin/' subdir of a clang distribution.
+ /// Only used to add include dirs for libc++ on Darwin. Please avoid relying
+ /// on this field for other purposes.
+ std::string InstallDir;
+
/// The directory used for the module cache.
std::string ModuleCachePath;