aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mutator_aux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mutator_aux.h b/mutator_aux.h
index f1ad3fe..52be1b0 100644
--- a/mutator_aux.h
+++ b/mutator_aux.h
@@ -33,7 +33,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*
/*********************************************************************************************************************/
/*Macros and definitions*/
#define CheckSLValidity(SL) \
- if (!SL.isValid()) {return void();}
+ do {\
+ if (!SL.isValid()) {return void();}}\
+ while(0);
/*********************************************************************************************************************/
using namespace clang;
/*********************************************************************************************************************/