AnalysisFramework.filterErrors(): Provide default for _includeWarningsAndInfos

This commit is contained in:
Kamil Śliwak 2023-08-04 20:37:21 +02:00
parent 511712570b
commit e62bc30e9e

View File

@ -66,8 +66,8 @@ protected:
std::string const& _signature std::string const& _signature
); );
// filter out the warnings in m_warningsToFilter or all warnings and infos if _includeWarningsAndInfos is false /// filter out the warnings in m_warningsToFilter or all warnings and infos if _includeWarningsAndInfos is false
langutil::ErrorList filterErrors(langutil::ErrorList const& _errorList, bool _includeWarningsAndInfos) const; langutil::ErrorList filterErrors(langutil::ErrorList const& _errorList, bool _includeWarningsAndInfos = true) const;
std::vector<std::string> m_warningsToFilter = {"This is a pre-release compiler version"}; std::vector<std::string> m_warningsToFilter = {"This is a pre-release compiler version"};
std::vector<std::string> m_messagesToCut = {"Source file requires different compiler version (current compiler is"}; std::vector<std::string> m_messagesToCut = {"Source file requires different compiler version (current compiler is"};