From 0169ae8ed53fb3b93895fd01b3cf945f37e76202 Mon Sep 17 00:00:00 2001 From: Hongbin Zheng Date: Thu, 18 Feb 2016 15:24:38 +0000 Subject: [PATCH] Add the missing __isl_give to MemoryAccess::getAccessRelation llvm-svn: 261215 --- polly/include/polly/ScopInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h index 8129522..104224e 100644 --- a/polly/include/polly/ScopInfo.h +++ b/polly/include/polly/ScopInfo.h @@ -708,7 +708,7 @@ public: /// As 2) is by construction "newer" than 1) we return the new access /// relation if present. /// - isl_map *getAccessRelation() const { + __isl_give isl_map *getAccessRelation() const { return hasNewAccessRelation() ? getNewAccessRelation() : getOriginalAccessRelation(); } -- 2.7.4