Add comment with short issue description. (#545)

This commit is contained in:
Pavel Davydov 2018-03-26 16:32:04 +03:00 committed by Jacob Dufault
parent 59769df8b5
commit 410fb69e25

View File

@ -75,6 +75,10 @@ struct ProjectConfig {
// TODO: See // TODO: See
// https://github.com/Valloric/ycmd/blob/master/ycmd/completers/cpp/flags.py. // https://github.com/Valloric/ycmd/blob/master/ycmd/completers/cpp/flags.py.
// Flags '-include' and '-include-pch' are blacklisted here cause libclang returns error in case when
// precompiled header was generated by a different compiler (even two different builds of same version
// of clang for the same platform are incompatible). Note that libclang always generate it's own pch
// internally. For details, see https://github.com/Valloric/ycmd/issues/892 .
std::vector<std::string> kBlacklistMulti = { std::vector<std::string> kBlacklistMulti = {
"-MF", "-MT", "-MQ", "-o", "--serialize-diagnostics", "-Xclang", "-include", "-include-pch"}; "-MF", "-MT", "-MQ", "-o", "--serialize-diagnostics", "-Xclang", "-include", "-include-pch"};