diff options
| author | bloodstalker <thabogre@gmail.com> | 2017-04-15 12:59:09 +0000 | 
|---|---|---|
| committer | bloodstalker <thabogre@gmail.com> | 2017-04-15 12:59:09 +0000 | 
| commit | fea3ef5e72416b49db445cc3a3fcebd9e6be93bd (patch) | |
| tree | 842e6c0448cc07e430ce5a52b2909a637516013f | |
| parent | added a new class to read the xml report created by M0. (diff) | |
| download | mutator-fea3ef5e72416b49db445cc3a3fcebd9e6be93bd.tar.gz mutator-fea3ef5e72416b49db445cc3a3fcebd9e6be93bd.zip | |
wrapped the function-like macro in do-while-0
Diffstat (limited to '')
| -rw-r--r-- | mutator_aux.h | 4 | 
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;  /*********************************************************************************************************************/ | 
