Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp1446 bool DeclContext::containsDecl(Decl *D) const { in containsDecl() function in DeclContext
1454 return containsDecl(D); in containsDeclAndLoad()
H A DASTImporter.cpp176 return FromDC->containsDecl(FromChildD); in ignoreChildErrorOnParent()
1946 assert(ToDC == ToD->getLexicalDeclContext() && ToDC->containsDecl(ToD)); in ImportDeclContext()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp3980 FromRecordOfFriend->getDeclContext()->containsDecl(FromRecordOfFriend)); in TEST_P()
3981 ASSERT_FALSE(FromRecordOfFriend->getLexicalDeclContext()->containsDecl( in TEST_P()
3998 ToRecordOfFriend->getDeclContext()->containsDecl(ToRecordOfFriend)); in TEST_P()
3999 EXPECT_FALSE(ToRecordOfFriend->getLexicalDeclContext()->containsDecl( in TEST_P()
4283 ASSERT_TRUE(NS->containsDecl(Spec)); in TEST_P()
4286 EXPECT_FALSE(NS->containsDecl(Spec)); in TEST_P()
4297 ASSERT_TRUE(DC->containsDecl(A0)); in TEST_P()
4298 ASSERT_TRUE(DC->containsDecl(A1)); in TEST_P()
4320 EXPECT_FALSE(DC->containsDecl(A0)); in TEST_P()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprMember.cpp614 if (Record->containsDecl(ND)) in ValidateCandidate()
621 if (BSTy->getDecl()->containsDecl(ND)) in ValidateCandidate()
H A DSemaExpr.cpp341 if (LangOpts.OpenMP && DRD && !CurContext->containsDecl(D) && in DiagnoseUseOfDecl()
4622 if (DC->containsDecl(TT->getDecl())) in CreateUnaryExprOrTypeTraitExpr()
5845 if (DC->containsDecl(TT->getDecl())) in CreateBuiltinArraySubscriptExpr()
H A DSemaDecl.cpp9903 if (!TagDC->containsDecl(TD)) in ActOnFunctionDeclarator()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h2357 bool containsDecl(Decl *D) const;