mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 09:50:26 +00:00
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:
parent
ee5ea91c1f
commit
82643dc79d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user