Lines Matching refs:VisitKind
247 enum class VisitKind { No, OnlyDecl, OnlyChildren, DeclAndChildren }; enum in clang::clangd::__anon8662a17c0311::DocumentOutline
256 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()
299 return VisitKind::No; in shouldVisit()
303 return VisitKind::OnlyDecl; in shouldVisit()
316 ? VisitKind::DeclAndChildren in shouldVisit()
317 : VisitKind::OnlyDecl; in shouldVisit()
318 return VisitKind::No; in shouldVisit()
323 ? VisitKind::DeclAndChildren in shouldVisit()
324 : VisitKind::OnlyDecl; in shouldVisit()
325 return VisitKind::No; in shouldVisit()
328 return VisitKind::DeclAndChildren; in shouldVisit()