summaryrefslogtreecommitdiffstats
path: root/include/clang/Lex/HeaderSearchOptions.h
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2014-02-25 18:23:47 +0000
committerBen Langmuir <blangmuir@apple.com>2014-02-25 18:23:47 +0000
commit89de580b52889e160a604bd735fc4e79147661cb (patch)
tree44fc8ba3a2075de87bb6d5a2e542543e8732820b /include/clang/Lex/HeaderSearchOptions.h
parentee8d6b96cec22857c609a0ff439e237a6c4fccc5 (diff)
Add a driver option -ivfsoverlay
Reads the description of a virtual filesystem from a file and overlays it over the real file system. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/HeaderSearchOptions.h')
-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 b471b8cafe..5abcdad2d5 100644
--- a/include/clang/Lex/HeaderSearchOptions.h
+++ b/include/clang/Lex/HeaderSearchOptions.h
@@ -129,6 +129,9 @@ public:
/// \brief The set of user-provided module-map-files.
llvm::SetVector<std::string> ModuleMapFiles;
+ /// \brief The set of user-provided virtual filesystem overlay files.
+ std::vector<std::string> VFSOverlayFiles;
+
/// Include the compiler builtin includes.
unsigned UseBuiltinIncludes : 1;
@@ -172,6 +175,10 @@ public:
void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) {
SystemHeaderPrefixes.push_back(SystemHeaderPrefix(Prefix, IsSystemHeader));
}
+
+ void AddVFSOverlayFile(StringRef Name) {
+ VFSOverlayFiles.push_back(Name);
+ }
};
} // end namespace clang