From 582960161918fd6a4bbe8392e965fc56ffb5e4da Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 22 Sep 2011 14:08:26 +0200 Subject: [PATCH] export PetScan::extract_int Signed-off-by: Sven Verdoolaege --- scan.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scan.h b/scan.h index f501ad3..cd307df 100644 --- a/scan.h +++ b/scan.h @@ -60,6 +60,8 @@ struct PetScan { nesting_enabled(false) { } struct pet_scop *scan(clang::FunctionDecl *fd); + + static int extract_int(clang::IntegerLiteral *expr, isl_int *v); private: struct pet_scop *scan(clang::Stmt *stmt); @@ -119,8 +121,6 @@ private: __isl_give isl_pw_aff *extract_affine_mod(clang::BinaryOperator *expr); __isl_give isl_pw_aff *extract_affine_mul(clang::BinaryOperator *expr); - int extract_int(clang::IntegerLiteral *expr, isl_int *v); - isl_pw_aff *non_affine(clang::Expr *expr); bool is_affine(clang::Expr *expr); -- 2.11.4.GIT