Home
last modified time | relevance | path

Searched refs:FoundDecl (Results 1 – 22 of 22) sorted by relevance

/external/clang/include/clang/Sema/
DDelayedDiagnostic.h47 DeclAccessPair FoundDecl, in AccessedEntity() argument
49 : Access(FoundDecl.getAccess()), IsMember(true), in AccessedEntity()
50 Target(FoundDecl.getDecl()), NamingClass(NamingClass), in AccessedEntity()
DInitialization.h729 DeclAccessPair FoundDecl; member
1014 DeclAccessPair FoundDecl,
DSema.h2260 NamedDecl *FoundDecl,
2378 NamedDecl *FoundDecl,
2387 DeclAccessPair FoundDecl,
2399 void AddMethodCandidate(DeclAccessPair FoundDecl,
2406 DeclAccessPair FoundDecl,
2414 DeclAccessPair FoundDecl,
2424 DeclAccessPair FoundDecl,
2431 DeclAccessPair FoundDecl,
2437 DeclAccessPair FoundDecl,
2443 DeclAccessPair FoundDecl,
[all …]
DSemaInternal.h130 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
DLookup.h720 virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
DOverload.h599 DeclAccessPair FoundDecl; member
/external/clang/lib/Sema/
DSemaOverload.cpp48 CreateFunctionRefExpr(Sema &S, FunctionDecl *Fn, NamedDecl *FoundDecl, in CreateFunctionRefExpr() argument
52 if (S.DiagnoseUseOfDecl(FoundDecl, Loc)) in CreateFunctionRefExpr()
60 if (FoundDecl != Fn && S.DiagnoseUseOfDecl(Fn, Loc)) in CreateFunctionRefExpr()
2984 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in IsInitializerListConstructorConversion() local
3005 S.AddTemplateOverloadCandidate(ConstructorTmpl, FoundDecl, in IsInitializerListConstructorConversion()
3010 S.AddOverloadCandidate(Constructor, FoundDecl, in IsInitializerListConstructorConversion()
3031 User.FoundConversionFunction = Best->FoundDecl; in IsInitializerListConstructorConversion()
3116 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in IsUserDefinedConversion() local
3145 S.AddTemplateOverloadCandidate(ConstructorTmpl, FoundDecl, in IsUserDefinedConversion()
3152 S.AddOverloadCandidate(Constructor, FoundDecl, in IsUserDefinedConversion()
[all …]
DSemaExprMember.cpp763 FieldDecl *Field, DeclAccessPair FoundDecl,
897 ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() argument
903 FoundDecl, MemberNameInfo, TemplateArgs, Ty, VK, OK); in BuildMemberExpr()
1073 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() local
1103 FoundDecl, MemberNameInfo); in BuildMemberReferenceExpr()
1113 FoundDecl, BaseExpr, in BuildMemberReferenceExpr()
1118 TemplateKWLoc, Var, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr()
1135 TemplateKWLoc, MemberFn, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr()
1142 TemplateKWLoc, Enum, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr()
1698 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr() argument
[all …]
DSemaStmtAsm.cpp637 NamedDecl *FoundDecl = CurrBaseResult.getFoundDecl(); in LookupInlineAsmField() local
638 if (VarDecl *VD = dyn_cast<VarDecl>(FoundDecl)) in LookupInlineAsmField()
640 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) { in LookupInlineAsmField()
643 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField()
645 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField()
DSemaInit.cpp3042 S.Function.FoundDecl = Found; in AddAddressOverloadResolutionStep()
3075 DeclAccessPair FoundDecl, in AddUserConversionStep() argument
3083 S.Function.FoundDecl = FoundDecl; in AddUserConversionStep()
3154 S.Function.FoundDecl = DeclAccessPair::make(Constructor, Access); in AddConstructorInitializationStep()
3362 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in ResolveConstructorOverload() local
3398 S.AddTemplateOverloadCandidate(ConstructorTmpl, FoundDecl, in ResolveConstructorOverload()
3411 S.AddOverloadCandidate(Constructor, FoundDecl, Args, CandidateSet, in ResolveConstructorOverload()
3541 CtorDecl, Best->FoundDecl.getAccess(), DestType, HadMultipleCandidates, in TryConstructorInitialization()
3850 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in TryRefInitWithConversionFunction() local
3864 S.AddTemplateOverloadCandidate(ConstructorTmpl, FoundDecl, in TryRefInitWithConversionFunction()
[all …]
DSemaStmt.cpp1357 bool FoundDecl; member in __anoneb61cbcb0311::DeclMatcher
1364 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher()
1371 FoundDecl = true; in VisitReturnStmt()
1375 FoundDecl = true; in VisitBreakStmt()
1379 FoundDecl = true; in VisitGotoStmt()
1416 FoundDecl = true; in VisitDeclRefExpr()
1419 bool FoundDeclInUse() { return FoundDecl; } in FoundDeclInUse()
DSemaAccess.cpp158 DeclAccessPair FoundDecl, in AccessTarget()
161 FoundDecl, BaseObjectType) { in AccessTarget()
DSemaExprCXX.cpp2005 Best->FoundDecl, Diagnose) == AR_inaccessible) in FindAllocationOverload()
2914 DeclAccessPair FoundDecl, in BuildCXXCastArgument() argument
2950 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl); in BuildCXXCastArgument()
2956 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument()
6071 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl, in BuildCXXMemberCallExpr() argument
6102 FoundDecl, Method); in BuildCXXMemberCallExpr()
DSemaLookup.cpp3380 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3397 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3523 Consumer.FoundDecl(ND, Visited.checkHidden(ND), nullptr, false); in LookupVisibleDecls()
3768 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding, in FoundDecl() function in TypoCorrectionConsumer
DTreeTransform.h2041 NamedDecl *FoundDecl, in RebuildMemberExpr() argument
2057 FoundDecl, Member); in RebuildMemberExpr()
2077 R.addDecl(FoundDecl); in RebuildMemberExpr()
8302 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() local
8303 if (FoundDecl == E->getMemberDecl()) { in TransformMemberExpr()
8304 FoundDecl = Member; in TransformMemberExpr()
8306 FoundDecl = cast_or_null<NamedDecl>( in TransformMemberExpr()
8307 getDerived().TransformDecl(E->getMemberLoc(), FoundDecl)); in TransformMemberExpr()
8308 if (!FoundDecl) in TransformMemberExpr()
8316 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
[all …]
DSemaExpr.cpp2514 NamedDecl *FoundDecl, in PerformObjectMemberConversion() argument
2622 if (FoundDecl->getDeclContext() != Member->getDeclContext()) { in PerformObjectMemberConversion()
2623 assert(isa<UsingShadowDecl>(FoundDecl)); in PerformObjectMemberConversion()
2625 cast<CXXRecordDecl>(FoundDecl->getDeclContext())); in PerformObjectMemberConversion()
DSemaCodeComplete.cpp1256 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, in FoundDecl() function in __anon71a38bb70211::CodeCompletionDeclConsumer
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2479 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P() local
2480 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P()
2496 const Decl *FoundDecl = Node.getSingleDecl(); in AST_MATCHER_P() local
2497 return InnerMatcher.matches(*FoundDecl, Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp575 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr() local
576 Writer.AddDeclRef(FoundDecl.getDecl(), Record); in VisitMemberExpr()
577 Record.push_back(FoundDecl.getAccess()); in VisitMemberExpr()
DASTReaderStmt.cpp2732 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); in ReadStmtFromStream() local
2745 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo, in ReadStmtFromStream()
/external/clang/include/clang/AST/
DExpr.h2349 DeclAccessPair FoundDecl; member
2456 return getMemberQualifier()->FoundDecl; in getFoundDecl()
/external/clang/lib/AST/
DExpr.cpp1454 NQ->FoundDecl = founddecl; in Create()