From de6fc367cdea0a2426938333e2595a07387c1cc9 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 19 May 2017 04:06:47 +0430 Subject: added some comments --- mutator-lvl0.h | 3 +++ 1 file changed, 3 insertions(+) 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 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); -- cgit v1.2.3