From b247572c3a6b079d5e873a9a1348049c8467c614 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 1 Feb 2016 16:13:42 +0100 Subject: [PATCH] PetScan: avoid initialization reordering warning Signed-off-by: Sven Verdoolaege --- scan.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scan.h b/scan.h index a61236e..dacf62e 100644 --- a/scan.h +++ b/scan.h @@ -143,10 +143,11 @@ struct PetScan { clang::DeclContext *decl_context, ScopLoc &loc, pet_options *options, __isl_take isl_union_map *value_bounds, std::vector &independent) : - ctx(isl_union_map_get_ctx(value_bounds)), PP(PP), + PP(PP), ast_context(ast_context), decl_context(decl_context), loc(loc), - options(options), value_bounds(value_bounds), - partial(false), last_line(0), current_line(0), + ctx(isl_union_map_get_ctx(value_bounds)), + options(options), partial(false), value_bounds(value_bounds), + last_line(0), current_line(0), independent(independent), n_rename(0), declared_names_collected(false), n_arg(0) { } -- 2.11.4.GIT