diff --git a/src/project.cc b/src/project.cc index 183acf71..bb48e995 100644 --- a/src/project.cc +++ b/src/project.cc @@ -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); });