aboutsummaryrefslogtreecommitdiffstats
path: root/mutator.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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: