mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 09:05:10 +00:00
Blacklist '-include' and '-include-pch' flags. (#545)
This commit is contained in:
parent
7a6ceae500
commit
a6e62aa28c
@ -76,7 +76,7 @@ struct ProjectConfig {
|
||||
// TODO: See
|
||||
// https://github.com/Valloric/ycmd/blob/master/ycmd/completers/cpp/flags.py.
|
||||
std::vector<std::string> 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<std::string> kBlacklist = {
|
||||
|
Loading…
Reference in New Issue
Block a user