Add all path declarations in IdentifierPath annotation

This commit is contained in:
Marenz
2022-06-20 18:08:57 +02:00
parent c3ea86612e
commit 18784cff81
4 changed files with 30 additions and 6 deletions
+3
View File
@@ -256,6 +256,9 @@ struct IdentifierPathAnnotation: ASTAnnotation
Declaration const* referencedDeclaration = nullptr;
/// What kind of lookup needs to be done (static, virtual, super) find the declaration.
util::SetOnce<VirtualLookup> requiredLookup;
/// Declaration of each path element.
std::vector<Declaration const*> pathDeclarations;
};
struct ExpressionAnnotation: ASTAnnotation