Searched refs:VisitKind (Results 1 – 1 of 1) sorted by relevance
247 enum class VisitKind { No, OnlyDecl, OnlyChildren, DeclAndChildren }; enum in clang::clangd::__anon8662a17c0311::DocumentOutline256 VisitKind Visit = shouldVisit(D); in traverseDecl()257 if (Visit == VisitKind::No) in traverseDecl()260 if (Visit == VisitKind::OnlyChildren) in traverseDecl()269 if (Visit == VisitKind::OnlyDecl) in traverseDecl()272 assert(Visit == VisitKind::DeclAndChildren && "Unexpected VisitKind"); in traverseDecl()284 VisitKind shouldVisit(Decl *D) { in shouldVisit()286 return VisitKind::No; in shouldVisit()289 return VisitKind::OnlyChildren; in shouldVisit()292 return VisitKind::No; in shouldVisit()[all …]