Home
last modified time | relevance | path

Searched refs:CheckCompoundStmt (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.cpp307 auto CheckCompoundStmt = [&](const Stmt *S, in lookupSiblingWithinEnclosingScope() local
326 if (const auto *Result = CheckCompoundStmt(EnclosingCS, NewName)) in lookupSiblingWithinEnclosingScope()
353 if (const auto *Result = CheckCompoundStmt(EnclosingIf->getElse(), NewName)) in lookupSiblingWithinEnclosingScope()
355 return CheckCompoundStmt(EnclosingIf->getThen(), NewName); in lookupSiblingWithinEnclosingScope()
358 return CheckCompoundStmt(EnclosingWhile->getBody(), NewName); in lookupSiblingWithinEnclosingScope()
365 return CheckCompoundStmt(EnclosingFor->getBody(), NewName); in lookupSiblingWithinEnclosingScope()
377 return CheckCompoundStmt(EnclosingFunction->getBody(), NewName); in lookupSiblingWithinEnclosingScope()