Skip to content

Commit

Permalink
project: strip -Xclang <arg>
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Sep 12, 2019
1 parent b3d694b commit 0c6be47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/project.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,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); });
Expand Down

0 comments on commit 0c6be47

Please sign in to comment.