Searched refs:PrecedingIf (Results 1 – 1 of 1) sorted by relevance
24 if (const auto *PrecedingIf = parents[0].get<IfStmt>()) { in getPrecedingIf() local25 SourceLocation PreviousElseLoc = PrecedingIf->getElseLoc(); in getPrecedingIf()28 return PrecedingIf; in getPrecedingIf()47 for (auto PrecedingIf = getPrecedingIf(SM, Context, If); PrecedingIf; in danglingElseCheck() local48 PrecedingIf = getPrecedingIf(SM, Context, PrecedingIf)) in danglingElseCheck()49 IfLoc = PrecedingIf->getIfLoc(); in danglingElseCheck()