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