- ReactRes.first != ReactRes.second; ++ReactRes.first) {
- if (i < reactMethodInReactions.size()) {
- if (reactMethodInReactions[i] == false) {
- CXXMethodDecl *React = dyn_cast<CXXMethodDecl>(*ReactRes.first);
- Diag(React->getParamDecl(0)->getLocStart(), diag_warning)
- << React->getParamDecl(0)->getType().getAsString() << " missing in typedef reactions";
- }
- } else {
+ ReactRes.first != ReactRes.second; ++ReactRes.first, ++i) {
+ if (i >= reactMethodInReactions.size() || reactMethodInReactions[i] == false) {