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