mirror of
https://github.com/MaskRay/ccls.git
synced 2025-03-30 13:32:13 +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 = {
|
static std::vector<std::string> kPathArgs = {
|
||||||
"-I", "-iquote", "-isystem", "--sysroot=",
|
"-I", "-iquote", "-isystem", "--sysroot=",
|
||||||
"-isysroot", "-gcc-toolchain", "-include-pch", "-iframework",
|
"-isysroot", "-gcc-toolchain", "-include-pch", "-iframework",
|
||||||
"-F", "-imacros"};
|
"-F", "-imacros", "-include"};
|
||||||
|
|
||||||
// Arguments whose path arguments should be injected into include dir lookup
|
// Arguments whose path arguments should be injected into include dir lookup
|
||||||
// for #include completion.
|
// for #include completion.
|
||||||
|
Loading…
Reference in New Issue
Block a user