diff --git a/src/project.cc b/src/project.cc index a194b31f..f3c2547e 100644 --- a/src/project.cc +++ b/src/project.cc @@ -76,7 +76,7 @@ struct ProjectConfig { // TODO: See // https://github.com/Valloric/ycmd/blob/master/ycmd/completers/cpp/flags.py. std::vector kBlacklistMulti = { - "-MF", "-MT", "-MQ", "-o", "--serialize-diagnostics", "-Xclang"}; + "-MF", "-MT", "-MQ", "-o", "--serialize-diagnostics", "-Xclang", "-include", "-include-pch"}; // Blacklisted flags which are always removed from the command line. std::vector kBlacklist = {