mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
project: strip -Xclang <arg>
This commit is contained in:
parent
b3d694b8bd
commit
0c6be472ce
@ -90,6 +90,10 @@ struct ProjectProcessor {
|
|||||||
i++;
|
i++;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (arg == "-Xclang") {
|
||||||
|
i++;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return exclude_args.count(arg) ||
|
return exclude_args.count(arg) ||
|
||||||
any_of(exclude_globs,
|
any_of(exclude_globs,
|
||||||
[&](const GlobPattern &glob) { return glob.match(arg); });
|
[&](const GlobPattern &glob) { return glob.match(arg); });
|
||||||
|
Loading…
Reference in New Issue
Block a user