PetScan::extract: always treat compound statement as a block
[pet.git] / loc.h
blob357c7d8dd6250bbd03e167b14a9825ca70539ce4
1 #ifndef PET_LOC_H
2 #define PET_LOC_H
4 #include <isl/ctx.h>
6 #include <pet.h>
8 #if defined(__cplusplus)
9 extern "C" {
10 #endif
12 extern pet_loc pet_loc_dummy;
14 __isl_give pet_loc *pet_loc_alloc(isl_ctx *ctx,
15 unsigned start, unsigned end, int line, __isl_take char *indent);
16 __isl_give pet_loc *pet_loc_update_start_end(__isl_take pet_loc *loc,
17 unsigned start, unsigned end);
18 __isl_give pet_loc *pet_loc_update_start_end_from_loc(__isl_take pet_loc *loc,
19 __isl_keep pet_loc *loc2);
20 __isl_give pet_loc *pet_loc_set_indent(__isl_take pet_loc *loc,
21 __isl_take char *indent);
23 #if defined(__cplusplus)
25 #endif
27 #endif