Ensure that paths passed to libclang are fully expanded

- "-include" arguments must have their paths resolved
- clang_resource_dir must have its path resolved
This commit is contained in:
Josh Elsasser 2017-12-03 11:59:34 -08:00 committed by Jacob Dufault
parent ee5ea91c1f
commit 82643dc79d

View File

@ -63,7 +63,7 @@ static std::vector<std::string> kBlacklist = {
static std::vector<std::string> kPathArgs = {
"-I", "-iquote", "-isystem", "--sysroot=",
"-isysroot", "-gcc-toolchain", "-include-pch", "-iframework",
"-F", "-imacros"};
"-F", "-imacros", "-include"};
// Arguments whose path arguments should be injected into include dir lookup
// for #include completion.