Searched refs:isDeeplyNested (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ASTTests.cpp | 552 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 D | AST.h | 224 bool isDeeplyNested(const Decl *D, unsigned MaxDepth = 10);
|
| H A D | AST.cpp | 683 bool isDeeplyNested(const Decl *D, unsigned MaxDepth) { in isDeeplyNested() function
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | IndexAction.cpp | 145 if (isDeeplyNested(D)) in IndexAction()
|