From b58f4185934a93fc511c03a8a970b31c5ea0dfca Mon Sep 17 00:00:00 2001 From: Timur Iskhakov Date: Tue, 29 Aug 2017 15:19:24 -0700 Subject: Make Type::getReferences return pointer This change makes it able to add lookups as one more tree pass, as it requires to change Type inside of references. This change require getReferences to become non-const, so from now we maintain const and non-const versions of recursive pass and getting dependencies. Bug: 31827278 Test: mma Change-Id: I201533db5ca0bd30fbad34ef71ed2bd210c607e4 --- Interface.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Interface.h') diff --git a/Interface.h b/Interface.h index ebb75cc2..02b0f4dd 100644 --- a/Interface.h +++ b/Interface.h @@ -86,10 +86,10 @@ struct Interface : public Scope { std::string getJavaType(bool forInitializer) const override; std::string getVtsType() const override; - std::vector> getReferences() const override; - std::vector> getStrongReferences() const override; + std::vector*> getReferences() const override; + std::vector*> getStrongReferences() const override; - std::vector getConstantExpressions() const override; + std::vector getConstantExpressions() const override; status_t resolveInheritance() override; status_t validate() const override; -- cgit v1.2.3