Add -idirafter ot kPathArgs (#529)

This commit is contained in:
Boris Staletic 2018-03-18 17:15:32 +01:00 committed by Fangrui Song
parent d7e0722ca6
commit 13cccda781

View File

@ -86,7 +86,9 @@ std::vector<std::string> kBlacklist = {
std::vector<std::string> kPathArgs = {
"-I", "-iquote", "-isystem", "--sysroot=",
"-isysroot", "-gcc-toolchain", "-include-pch", "-iframework",
"-F", "-imacros", "-include", "/I"};
"-F", "-imacros", "-include", "/I",
"-idirafter"
};
// Arguments which always require an absolute path, ie, clang -working-directory
// does not work as expected. Argument processing assumes that this is a subset