ViewPureChecker: Extract reportFunctionCallMutability() helper from endVisit(FunctionCall)

This commit is contained in:
wechman
2022-11-23 13:27:26 +01:00
committed by Kamil Śliwak
parent 27df07c4ce
commit edb4bfa398
2 changed files with 14 additions and 5 deletions
+2
View File
@@ -73,6 +73,8 @@ private:
std::optional<langutil::SourceLocation> const& _nestedLocation = {}
);
void reportFunctionCallMutability(StateMutability _mutability, langutil::SourceLocation const& _location);
/// Determines the mutability of modifier if not already cached.
MutabilityAndLocation const& modifierMutability(ModifierDefinition const& _modifier);