summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-28 04:45:53 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-28 04:45:53 +0000
commit9f93e38aafe0acf0bd06218ffc7cdd147102ae20 (patch)
treef8b537fd4cff4307ba05f8780a4ffce9b99bacfd /clang/lib/Driver/Tools.cpp
parent449e4c0f43c7117f5a90a29b786355be23ac04af (diff)
downloadbcm5719-llvm-9f93e38aafe0acf0bd06218ffc7cdd147102ae20.tar.gz
bcm5719-llvm-9f93e38aafe0acf0bd06218ffc7cdd147102ae20.zip
Introduce the "-index-header-map" option, to give special semantics
for quoted header lookup when dealing with not-yet-installed frameworks. Fixes <rdar://problem/9824020>. llvm-svn: 136331
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 31413c7cf97..5fd2b9b4864 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -341,7 +341,8 @@ void Clang::AddPreprocessingOptions(const Driver &D,
}
Args.AddAllArgs(CmdArgs, options::OPT_D, options::OPT_U);
- Args.AddAllArgs(CmdArgs, options::OPT_I_Group, options::OPT_F);
+ Args.AddAllArgs(CmdArgs, options::OPT_I_Group, options::OPT_F,
+ options::OPT_index_header_map);
// Add C++ include arguments, if needed.
types::ID InputType = Inputs[0].getType();
OpenPOWER on IntegriCloud