Home
last modified time | relevance | path

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

/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()
1241 ICS.Ambiguous.addConversion(Cand->FoundDecl, Cand->Function); in TryUserDefinedConversion()
3070 S.AddTemplateOverloadCandidate(Info.ConstructorTmpl, Info.FoundDecl, in IsInitializerListConstructorConversion()
3074 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, From, in IsInitializerListConstructorConversion()
3094 User.FoundConversionFunction = Best->FoundDecl; in IsInitializerListConstructorConversion()
3199 Info.ConstructorTmpl, Info.FoundDecl, in IsUserDefinedConversion()
3205 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, in IsUserDefinedConversion()
3224 DeclAccessPair FoundDecl = I.getPair(); in IsUserDefinedConversion() local
[all …]
DSemaExprMember.cpp777 FieldDecl *Field, DeclAccessPair FoundDecl,
911 ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() argument
917 FoundDecl, MemberNameInfo, TemplateArgs, Ty, VK, OK); in BuildMemberExpr()
1113 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() local
1142 FoundDecl, TemplateArgs); in BuildMemberReferenceExpr()
1157 FoundDecl, MemberNameInfo); in BuildMemberReferenceExpr()
1167 FoundDecl, BaseExpr, in BuildMemberReferenceExpr()
1172 TemplateKWLoc, Var, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr()
1189 TemplateKWLoc, MemberFn, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr()
1196 TemplateKWLoc, Enum, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr()
[all …]
DSemaStmtAsm.cpp629 NamedDecl *FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() local
632 if (VarDecl *VD = dyn_cast<VarDecl>(FoundDecl)) in LookupInlineAsmField()
634 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) { in LookupInlineAsmField()
637 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField()
639 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField()
656 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField()
659 FieldDecl *FD = dyn_cast<FieldDecl>(FoundDecl); in LookupInlineAsmField()
DSemaInit.cpp3129 S.Function.FoundDecl = Found; in AddAddressOverloadResolutionStep()
3162 DeclAccessPair FoundDecl, in AddUserConversionStep() argument
3170 S.Function.FoundDecl = FoundDecl; in AddUserConversionStep()
3228 DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T, in AddConstructorInitializationStep() argument
3237 S.Function.FoundDecl = FoundDecl; in AddConstructorInitializationStep()
3479 S.AddTemplateOverloadCandidate(Info.ConstructorTmpl, Info.FoundDecl, in ResolveConstructorOverload()
3492 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, Args, in ResolveConstructorOverload()
3627 Best->FoundDecl, CtorDecl, DestType, HadMultipleCandidates, in TryConstructorInitialization()
3992 S.AddTemplateOverloadCandidate(Info.ConstructorTmpl, Info.FoundDecl, in TryRefInitWithConversionFunction()
3997 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, in TryRefInitWithConversionFunction()
[all …]
DSemaStmt.cpp1362 bool FoundDecl; member in __anon739654c80411::DeclMatcher
1369 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher()
1376 FoundDecl = true; in VisitReturnStmt()
1380 FoundDecl = true; in VisitBreakStmt()
1384 FoundDecl = true; in VisitGotoStmt()
1421 FoundDecl = true; in VisitDeclRefExpr()
1436 bool FoundDeclInUse() { return FoundDecl; } in FoundDeclInUse()
DSemaLookup.cpp2961 AddOverloadCandidate(CtorInfo.Constructor, CtorInfo.FoundDecl, in LookupSpecialMember()
2974 CtorInfo.ConstructorTmpl, CtorInfo.FoundDecl, nullptr, in LookupSpecialMember()
3466 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3483 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3609 Consumer.FoundDecl(ND, Visited.checkHidden(ND), nullptr, false); in LookupVisibleDecls()
3854 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding, in FoundDecl() function in TypoCorrectionConsumer
DSemaExprCXX.cpp2239 Best->FoundDecl, Diagnose) == AR_inaccessible) in FindAllocationOverload()
3180 DeclAccessPair FoundDecl, in BuildCXXCastArgument() argument
3196 S.CheckConstructorAccess(CastLoc, Constructor, FoundDecl, in BuildCXXCastArgument()
3202 CastLoc, Ty, FoundDecl, cast<CXXConstructorDecl>(Method), in BuildCXXCastArgument()
3215 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl); in BuildCXXCastArgument()
3221 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument()
6347 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl, in BuildCXXMemberCallExpr() argument
6381 FoundDecl, Method); in BuildCXXMemberCallExpr()
DSemaAccess.cpp158 DeclAccessPair FoundDecl, in AccessTarget()
161 FoundDecl, BaseObjectType) { in AccessTarget()
DTreeTransform.h2114 NamedDecl *FoundDecl, in RebuildMemberExpr() argument
2130 FoundDecl, Member); in RebuildMemberExpr()
2150 R.addDecl(FoundDecl); in RebuildMemberExpr()
8611 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() local
8612 if (FoundDecl == E->getMemberDecl()) { in TransformMemberExpr()
8613 FoundDecl = Member; in TransformMemberExpr()
8615 FoundDecl = cast_or_null<NamedDecl>( in TransformMemberExpr()
8616 getDerived().TransformDecl(E->getMemberLoc(), FoundDecl)); in TransformMemberExpr()
8617 if (!FoundDecl) in TransformMemberExpr()
8625 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
[all …]
DSemaExpr.cpp1988 ND = Best->FoundDecl; in DiagnoseEmptyLookup()
2577 NamedDecl *FoundDecl, in PerformObjectMemberConversion() argument
2685 if (FoundDecl->getDeclContext() != Member->getDeclContext()) { in PerformObjectMemberConversion()
2686 assert(isa<UsingShadowDecl>(FoundDecl)); in PerformObjectMemberConversion()
2688 cast<CXXRecordDecl>(FoundDecl->getDeclContext())); in PerformObjectMemberConversion()
4664 ND = Best->FoundDecl; in TryTypoCorrectionForCall()
DSemaDeclCXX.cpp11433 NamedDecl *FoundDecl, in BuildCXXConstructExpr() argument
11458 Context, cast<CXXRecordDecl>(FoundDecl->getDeclContext())); in BuildCXXConstructExpr()
11462 FoundDecl, Constructor, in BuildCXXConstructExpr()
11471 NamedDecl *FoundDecl, in BuildCXXConstructExpr() argument
11481 if (auto *Shadow = dyn_cast<ConstructorUsingShadowDecl>(FoundDecl)) { in BuildCXXConstructExpr()
DSemaCodeComplete.cpp1269 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, in FoundDecl() function in __anon28dbc1b40211::CodeCompletionDeclConsumer
/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()
DTemplateDeduction.h249 DeclAccessPair FoundDecl; member
259 FoundDecl = Found; in set()
DInitialization.h730 DeclAccessPair FoundDecl; member
1021 DeclAccessPair FoundDecl,
1052 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
DOverload.h603 DeclAccessPair FoundDecl; member
803 DeclAccessPair FoundDecl; member
DSema.h2324 NamedDecl *FoundDecl,
2443 NamedDecl *FoundDecl,
2452 DeclAccessPair FoundDecl,
2464 void AddMethodCandidate(DeclAccessPair FoundDecl,
2471 DeclAccessPair FoundDecl,
2479 DeclAccessPair FoundDecl,
2489 DeclAccessPair FoundDecl,
2496 DeclAccessPair FoundDecl,
2502 DeclAccessPair FoundDecl,
2508 DeclAccessPair FoundDecl,
[all …]
DSemaInternal.h131 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
DLookup.h764 virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2775 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P() local
2776 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P()
2792 const Decl *FoundDecl = Node.getSingleDecl(); in AST_MATCHER_P() local
2793 return InnerMatcher.matches(*FoundDecl, Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp589 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr() local
590 Record.AddDeclRef(FoundDecl.getDecl()); in VisitMemberExpr()
591 Record.push_back(FoundDecl.getAccess()); in VisitMemberExpr()
DASTReaderStmt.cpp3034 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); in ReadStmtFromStream() local
3047 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo, in ReadStmtFromStream()
/external/clang/include/clang/AST/
DExpr.h2310 DeclAccessPair FoundDecl; member
2419 return getTrailingObjects<MemberExprNameQualifier>()->FoundDecl; in getFoundDecl()
/external/clang/lib/AST/
DExpr.cpp1440 NQ->FoundDecl = founddecl; in Create()