Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp3632 FromRecordOfFriend->getDeclContext()->containsDecl(FromRecordOfFriend)); in TEST_P()
3633 ASSERT_FALSE(FromRecordOfFriend->getLexicalDeclContext()->containsDecl( in TEST_P()
3650 ToRecordOfFriend->getDeclContext()->containsDecl(ToRecordOfFriend)); in TEST_P()
3651 EXPECT_FALSE(ToRecordOfFriend->getLexicalDeclContext()->containsDecl( in TEST_P()
3935 ASSERT_TRUE(NS->containsDecl(Spec)); in TEST_P()
3938 EXPECT_FALSE(NS->containsDecl(Spec)); in TEST_P()
3949 ASSERT_TRUE(DC->containsDecl(A0)); in TEST_P()
3950 ASSERT_TRUE(DC->containsDecl(A1)); in TEST_P()
3972 EXPECT_FALSE(DC->containsDecl(A0)); in TEST_P()
/external/llvm-project/clang/lib/AST/
DDeclBase.cpp1451 bool DeclContext::containsDecl(Decl *D) const { in containsDecl() function in DeclContext
1459 return containsDecl(D); in containsDeclAndLoad()
DASTImporter.cpp1838 assert(ToDC == ToD->getLexicalDeclContext() && ToDC->containsDecl(ToD)); in ImportDeclContext()
/external/clang/lib/Sema/
DSemaExprMember.cpp591 if (Record->containsDecl(ND)) in ValidateCandidate()
599 if (BSTy->getDecl()->containsDecl(ND)) in ValidateCandidate()
DSemaExpr.cpp376 if (LangOpts.OpenMP && DRD && !CurContext->containsDecl(D) && in DiagnoseUseOfDecl()
3979 if (DC->containsDecl(TT->getDecl())) in CreateUnaryExprOrTypeTraitExpr()
DSemaDecl.cpp11325 if (Context.getTranslationUnitDecl()->containsDecl(D)) in ActOnStartOfFunctionDef()
/external/llvm-project/clang/lib/Sema/
DSemaExprMember.cpp612 if (Record->containsDecl(ND)) in ValidateCandidate()
620 if (BSTy->getDecl()->containsDecl(ND)) in ValidateCandidate()
DSemaExpr.cpp330 if (LangOpts.OpenMP && DRD && !CurContext->containsDecl(D) && in DiagnoseUseOfDecl()
4439 if (DC->containsDecl(TT->getDecl())) in CreateUnaryExprOrTypeTraitExpr()
5580 if (DC->containsDecl(TT->getDecl())) in CreateBuiltinArraySubscriptExpr()
DSemaDecl.cpp9314 if (!TagDC->containsDecl(TD)) in ActOnFunctionDeclarator()
/external/clang/include/clang/AST/
DDeclBase.h1650 bool containsDecl(Decl *D) const;
/external/clang/lib/AST/
DDeclBase.cpp1219 bool DeclContext::containsDecl(Decl *D) const { in containsDecl() function in DeclContext
DDecl.cpp2772 if (DC->containsDecl(I)) { in setDeclsInPrototypeScope()
/external/llvm-project/clang/include/clang/AST/
DDeclBase.h2262 bool containsDecl(Decl *D) const;