Preprocessor: allow that 'missingInclude' messages are suppressed with '--suppress=missingInclude'
This commit is contained in:
parent
939504af3c
commit
d5bf5b7ad2
|
@ -2019,7 +2019,8 @@ void Preprocessor::handleIncludes(std::string &code, const std::string &filePath
|
|||
}
|
||||
else if (!fileOpened && _settings && (headerType == UserHeader || _settings->debugwarnings))
|
||||
{
|
||||
missingIncludeFlag = true;
|
||||
if (!_settings->nomsg.isSuppressed("missingInclude", "", 0))
|
||||
missingIncludeFlag = true;
|
||||
|
||||
if (_errorLogger && _settings->checkConfiguration)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue