diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-24 21:09:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-24 21:09:16 +0000 |
commit | 4b2164cab83bcd6133e45883f8250dd63a5f86cc (patch) | |
tree | 59930a0acd34fd7c29fcfd154df1ea1a05d095cb /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a460311710e05dd50482c1c5407d5fc658b39c37 (diff) | |
download | bcm5719-llvm-4b2164cab83bcd6133e45883f8250dd63a5f86cc.tar.gz bcm5719-llvm-4b2164cab83bcd6133e45883f8250dd63a5f86cc.zip |
Implement -iwithsysroot, an apple extension which is a close cousin of -isystem.
Instead of implementing -isystem, I accidentally implemented this cousin. Next
up is to implement -isystem right.
llvm-svn: 111966
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 7622eb79064..f0a9bf457f8 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1173,7 +1173,7 @@ static void ParseHeaderSearchArgs(HeaderSearchOptions &Opts, ArgList &Args) { for (arg_iterator it = Args.filtered_begin(OPT_iquote), ie = Args.filtered_end(); it != ie; ++it) Opts.AddPath((*it)->getValue(Args), frontend::Quoted, true, false); - for (arg_iterator it = Args.filtered_begin(OPT_isystem), + for (arg_iterator it = Args.filtered_begin(OPT_isystem, OPT_iwithsysroot), ie = Args.filtered_end(); it != ie; ++it) Opts.AddPath((*it)->getValue(Args), frontend::System, true, false); |