aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-05-18 23:36:47 +0000
committerbloodstalker <thabogre@gmail.com>2017-05-18 23:36:47 +0000
commitde6fc367cdea0a2426938333e2595a07387c1cc9 (patch)
tree4b6dd2d9581d6016ab895a7297db5864426f7ec2
parentthe history number is broken. commented it out til i fix it. (diff)
downloadmutator-de6fc367cdea0a2426938333e2595a07387c1cc9.tar.gz
mutator-de6fc367cdea0a2426938333e2595a07387c1cc9.zip
added some comments
-rw-r--r--mutator-lvl0.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mutator-lvl0.h b/mutator-lvl0.h
index 31bea3e..44a82fc 100644
--- a/mutator-lvl0.h
+++ b/mutator-lvl0.h
@@ -361,8 +361,11 @@ class MutagenExtraction
std::vector<std::string> temp;
+ /*FIXME-a temp. obviously well end up losing some parents in cpp if we're just picking up the
+ * first parent from the list.*/
temp.push_back(DNL[0].getNodeKind().asStringRef().str());
+ /*FIXME-what does getparents return when there are no more parents to return?*/
while (__astx.getParents(__dtn)[0].getNodeKind().asStringRef().str() != "FunctionDecl")
{
DNL = __astx.getParents(__dtn);