Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DASTTests.cpp552 EXPECT_TRUE(isDeeplyNested(&findUnqualifiedDecl(AST, "Foo"), /*MaxDepth=*/1)); in TEST()
554 isDeeplyNested(&findUnqualifiedDecl(AST, "Foo"), /*MaxDepth=*/2)); in TEST()
556 EXPECT_TRUE(isDeeplyNested(&findUnqualifiedDecl(AST, "bar"), /*MaxDepth=*/2)); in TEST()
558 isDeeplyNested(&findUnqualifiedDecl(AST, "bar"), /*MaxDepth=*/3)); in TEST()
560 EXPECT_TRUE(isDeeplyNested(&findUnqualifiedDecl(AST, "Bar"), /*MaxDepth=*/3)); in TEST()
562 isDeeplyNested(&findUnqualifiedDecl(AST, "Bar"), /*MaxDepth=*/4)); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.h224 bool isDeeplyNested(const Decl *D, unsigned MaxDepth = 10);
H A DAST.cpp683 bool isDeeplyNested(const Decl *D, unsigned MaxDepth) { in isDeeplyNested() function
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DIndexAction.cpp145 if (isDeeplyNested(D)) in IndexAction()