IslNodeBuilder: Add missing __isl_take annotation
authorTobias Grosser <tobias@grosser.es>
Fri, 9 Sep 2016 11:16:50 +0000 (11:16 +0000)
committerTobias Grosser <tobias@grosser.es>
Fri, 9 Sep 2016 11:16:50 +0000 (11:16 +0000)
llvm-svn: 281034

polly/lib/CodeGen/IslNodeBuilder.cpp

index 5bfd527..60fbdb9 100644 (file)
@@ -730,8 +730,8 @@ IslNodeBuilder::createNewAccesses(ScopStmt *Stmt,
   return NewAccesses;
 }
 
-void IslNodeBuilder::createSubstitutions(isl_ast_expr *Expr, ScopStmt *Stmt,
-                                         LoopToScevMapT &LTS) {
+void IslNodeBuilder::createSubstitutions(__isl_take isl_ast_expr *Expr,
+                                         ScopStmt *Stmt, LoopToScevMapT &LTS) {
   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 &&