mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
AnalysisFramework.filterErrors(): Provide default for _includeWarningsAndInfos
This commit is contained in:
parent
511712570b
commit
e62bc30e9e
@ -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"};
|
||||||
|
Loading…
Reference in New Issue
Block a user