Methods should do what their name suggests. Mathod called check... should
not do more than checking something.
}
i++;
}
- reactMethodInReactions.clear();
}
bool HandleCustomReaction(const CXXRecordDecl *SrcState, const Type *EventType)
int typedef_num = 0;
string name(RecordDecl->getName()); //getQualifiedNameAsString());
Diag(RecordDecl->getLocStart(), diag_found_state) << name;
+ reactMethodInReactions.clear();
Model::State *state;
// Either we saw a reference to forward declared state