aboutsummaryrefslogtreecommitdiffstats
path: root/mutator.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-10-17 14:15:51 +0000
committerbloodstalker <thabogre@gmail.com>2016-10-17 14:15:51 +0000
commit8cf61df2cad0321afec947f982ae37c3469f7639 (patch)
tree8e45b82e6e0711c53e4ebca2b6d29a4d92690c1e /mutator.cpp
parentsome minor changes (diff)
downloadmutator-8cf61df2cad0321afec947f982ae37c3469f7639.tar.gz
mutator-8cf61df2cad0321afec947f982ae37c3469f7639.zip
wip
Diffstat (limited to 'mutator.cpp')
-rw-r--r--mutator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/mutator.cpp b/mutator.cpp
index f799809..3af8e2b 100644
--- a/mutator.cpp
+++ b/mutator.cpp
@@ -5,6 +5,7 @@
/*standard library*/
#include <string>
#include <iostream>
+#include <cassert>
/*LLVM-libs*/
#include "clang/AST/AST.h"
#include "clang/AST/ASTConsumer.h"
@@ -60,6 +61,10 @@ public:
/*replace it.*/
Rewrite.ReplaceText(BinOpSL, 2U , "XXX");
}
+ else
+ {
+ std::cout << "the macther -binopeq- returned nullptr!" << std::endl;
+ }
}
private: