and never remap them with -isysroot. This fixes PR3614.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65012
91177308-0d34-0410-b5e6-
96231b3b80d8
MainExecutablePath.eraseComponent(); // Remove /clang from foo/bin/clang
MainExecutablePath.eraseComponent(); // Remove /bin from foo/bin
MainExecutablePath.appendComponent("Headers"); // Get foo/Headers
- Init.AddPath(MainExecutablePath.c_str(), InitHeaderSearch::System,
- false, false, false);
+ Init.AddPath(MainExecutablePath.c_str(), InitHeaderSearch::After,
+ false, false, false);
}
if (!nostdinc)