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