diff options
author | Yuka Takahashi <yukatkh@gmail.com> | 2017-05-03 06:02:45 +0000 |
---|---|---|
committer | Yuka Takahashi <yukatkh@gmail.com> | 2017-05-03 06:02:45 +0000 |
commit | 5511fc2eb3cb74b309a13e060bf487e592eae93f (patch) | |
tree | 8dd3013c389fd7737352a6ad89e978b4eda019e0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 59e83892e0a029a5d773c8d0a835d471df3ccfd2 (diff) | |
download | bcm5719-llvm-5511fc2eb3cb74b309a13e060bf487e592eae93f.tar.gz bcm5719-llvm-5511fc2eb3cb74b309a13e060bf487e592eae93f.zip |
Revert rL301998: "Fix a bug that -isysroot is completely ignored on Unix"
This reverts commit because it broke
sanitizer-x86_64-linux-autoconf bot and
clang-ppc64be-linux-multistage bot.
llvm-svn: 302000
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 c69a7e64972..d3ebf48315e 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1565,7 +1565,7 @@ static void ParseHeaderSearchArgs(HeaderSearchOptions &Opts, ArgList &Args, frontend::IncludeDirGroup Group = frontend::System; if (A->getOption().matches(OPT_internal_externc_isystem)) Group = frontend::ExternCSystem; - Opts.AddPath(A->getValue(), Group, false, false); + Opts.AddPath(A->getValue(), Group, false, true); } // Add the path prefixes which are implicitly treated as being system headers. |