From: Tobias Grosser Date: Fri, 9 Sep 2016 11:16:50 +0000 (+0000) Subject: IslNodeBuilder: Add missing __isl_take annotation X-Git-Tag: llvmorg-4.0.0-rc1~10237 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3afe44d6c1499e7b11968ed502f3d5193479076;p=platform%2Fupstream%2Fllvm.git IslNodeBuilder: Add missing __isl_take annotation llvm-svn: 281034 --- diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp index 5bfd527..60fbdb9 100644 --- a/polly/lib/CodeGen/IslNodeBuilder.cpp +++ b/polly/lib/CodeGen/IslNodeBuilder.cpp @@ -730,8 +730,8 @@ IslNodeBuilder::createNewAccesses(ScopStmt *Stmt, return NewAccesses; } -void IslNodeBuilder::createSubstitutions(isl_ast_expr *Expr, ScopStmt *Stmt, - LoopToScevMapT <S) { +void IslNodeBuilder::createSubstitutions(__isl_take isl_ast_expr *Expr, + ScopStmt *Stmt, LoopToScevMapT <S) { assert(isl_ast_expr_get_type(Expr) == isl_ast_expr_op && "Expression of type 'op' expected"); assert(isl_ast_expr_get_op_type(Expr) == isl_ast_op_call &&