Update libsolidity/analysis/NameAndTypeResolver.h

Co-authored-by: Damian Wechman <damian.wechman.it@gmail.com>
This commit is contained in:
Mathias L. Baumann 2022-06-22 13:25:24 +02:00 committed by GitHub
parent 18784cff81
commit 03409beb1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ public:
Declaration const* pathFromCurrentScope(std::vector<ASTString> const& _path) const;
/// Resolves a path starting from the "current" scope, but also searches parent scopes.
/// Should only be called during the initial resolving phase.
/// @note Returns an empty vector if any component in the path was not unique or not found otherwise all declarations along the path are returned.
/// @note Returns an empty vector if any component in the path was non-unique or not found. Otherwise, all declarations along the path are returned.
std::vector<Declaration const*> pathFromCurrentScopeWithAllDeclarations(std::vector<ASTString> const& _path) const;
/// Generate and store warnings about declarations with the same name.