Searched defs:FoundDecl (Results 1 - 16 of 16) sorted by relevance

/external/clang/include/clang/Sema/
H A DTemplateDeduction.h249 DeclAccessPair FoundDecl; member in struct:clang::TemplateSpecCandidate
259 FoundDecl = Found;
H A DDelayedDiagnostic.h47 DeclAccessPair FoundDecl,
49 : Access(FoundDecl.getAccess()), IsMember(true),
50 Target(FoundDecl.getDecl()), NamingClass(NamingClass),
44 AccessedEntity(PartialDiagnostic::StorageAllocator &Allocator, MemberNonce _, CXXRecordDecl *NamingClass, DeclAccessPair FoundDecl, QualType BaseObjectType) argument
H A DInitialization.h730 DeclAccessPair FoundDecl; member in struct:clang::InitializationSequence::Step::F
1021 DeclAccessPair FoundDecl,
1052 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
H A DOverload.h600 /// FoundDecl - The original declaration that was looked up /
603 DeclAccessPair FoundDecl; member in struct:clang::OverloadCandidate
803 DeclAccessPair FoundDecl; member in struct:clang::ConstructorInfo
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2775 const NamedDecl *FoundDecl = Node.getFoundDecl(); local
2776 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl))
2792 const Decl *FoundDecl = Node.getSingleDecl(); local
2793 return InnerMatcher.matches(*FoundDecl, Finder, Builder);
/external/clang/lib/Sema/
H A DSemaAccess.cpp158 DeclAccessPair FoundDecl,
161 FoundDecl, BaseObjectType) {
155 AccessTarget(ASTContext &Context, MemberNonce _, CXXRecordDecl *NamingClass, DeclAccessPair FoundDecl, QualType BaseObjectType) argument
H A DSemaExprMember.cpp777 FieldDecl *Field, DeclAccessPair FoundDecl,
911 ValueDecl *Member, DeclAccessPair FoundDecl,
917 FoundDecl, MemberNameInfo, TemplateArgs, Ty, VK, OK);
1113 DeclAccessPair FoundDecl = R.begin().getPair(); local
1142 FoundDecl, TemplateArgs);
1157 FoundDecl, MemberNameInfo);
1167 FoundDecl, BaseExpr,
1172 TemplateKWLoc, Var, FoundDecl, MemberNameInfo,
1189 TemplateKWLoc, MemberFn, FoundDecl, MemberNameInfo,
1196 TemplateKWLoc, Enum, FoundDecl, MemberNameInf
908 BuildMemberExpr( Sema &SemaRef, ASTContext &C, Expr *Base, bool isArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo, QualType Ty, ExprValueKind VK, ExprObjectKind OK, const TemplateArgumentListInfo *TemplateArgs = nullptr) argument
1761 BuildFieldReferenceExpr(Sema &S, Expr *BaseExpr, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument
[all...]
H A DSemaExprCXX.cpp2239 Best->FoundDecl, Diagnose) == AR_inaccessible)
3180 DeclAccessPair FoundDecl,
3196 S.CheckConstructorAccess(CastLoc, Constructor, FoundDecl,
3202 CastLoc, Ty, FoundDecl, cast<CXXConstructorDecl>(Method),
3215 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl);
3221 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv,
6347 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl, argument
6381 FoundDecl, Method);
3175 BuildCXXCastArgument(Sema &S, SourceLocation CastLoc, QualType Ty, CastKind Kind, CXXMethodDecl *Method, DeclAccessPair FoundDecl, bool HadMultipleCandidates, Expr *From) argument
H A DSemaInit.cpp3129 S.Function.FoundDecl = Found;
3162 DeclAccessPair FoundDecl,
3170 S.Function.FoundDecl = FoundDecl;
3228 DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T,
3237 S.Function.FoundDecl = FoundDecl;
3479 S.AddTemplateOverloadCandidate(Info.ConstructorTmpl, Info.FoundDecl,
3492 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, Args,
3627 Best->FoundDecl, CtorDec
3161 AddUserConversionStep(FunctionDecl *Function, DeclAccessPair FoundDecl, QualType T, bool HadMultipleCandidates) argument
3227 AddConstructorInitializationStep( DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T, bool HadMultipleCandidates, bool FromInitList, bool AsInitList) argument
[all...]
H A DSemaOverload.cpp48 CreateFunctionRefExpr(Sema &S, FunctionDecl *Fn, NamedDecl *FoundDecl, argument
52 if (S.DiagnoseUseOfDecl(FoundDecl, Loc))
54 // If FoundDecl is different from Fn (such as if one is a template
58 // DiagnoseUseOfDecl to accept both the FoundDecl and the decl
60 if (FoundDecl != Fn && S.DiagnoseUseOfDecl(Fn, Loc))
1241 ICS.Ambiguous.addConversion(Cand->FoundDecl, Cand->Function);
3070 S.AddTemplateOverloadCandidate(Info.ConstructorTmpl, Info.FoundDecl,
3074 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, From,
3094 User.FoundConversionFunction = Best->FoundDecl;
3199 Info.ConstructorTmpl, Info.FoundDecl,
3224 DeclAccessPair FoundDecl = I.getPair(); local
4973 PerformObjectArgumentInitialization(Expr *From, NestedNameSpecifier *Qualifier, NamedDecl *FoundDecl, CXXMethodDecl *Method) argument
5434 DeclAccessPair FoundDecl = ViableConversions[I]; local
5707 AddOverloadCandidate(FunctionDecl *Function, DeclAccessPair FoundDecl, ArrayRef<Expr *> Args, OverloadCandidateSet &CandidateSet, bool SuppressUserConversions, bool PartialOverloading, bool AllowExplicit) argument
6081 AddMethodCandidate(DeclAccessPair FoundDecl, QualType ObjectType, Expr::Classification ObjectClassification, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions) argument
6102 AddMethodCandidate(cast<CXXMethodDecl>(Decl), FoundDecl, ActingContext, local
6117 AddMethodCandidate(CXXMethodDecl *Method, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, QualType ObjectType, Expr::Classification ObjectClassification, ArrayRef<Expr *> Args, OverloadCandidateSet &CandidateSet, bool SuppressUserConversions, bool PartialOverloading) argument
6243 AddMethodTemplateCandidate(FunctionTemplateDecl *MethodTmpl, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, TemplateArgumentListInfo *ExplicitTemplateArgs, QualType ObjectType, Expr::Classification ObjectClassification, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions, bool PartialOverloading) argument
6288 AddMethodCandidate(cast<CXXMethodDecl>(Specialization), FoundDecl, local
6297 AddTemplateOverloadCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, TemplateArgumentListInfo *ExplicitTemplateArgs, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions, bool PartialOverloading) argument
6387 AddConversionCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, Expr *From, QualType ToType, OverloadCandidateSet& CandidateSet, bool AllowObjCConversionOnExplicit) argument
6554 AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, CXXRecordDecl *ActingDC, Expr *From, QualType ToType, OverloadCandidateSet &CandidateSet, bool AllowObjCConversionOnExplicit) argument
6596 AddSurrogateCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, const FunctionProtoType *Proto, Expr *Object, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet) argument
[all...]
H A DSemaStmt.cpp1362 bool FoundDecl; member in class:__anon1874::DeclMatcher
1369 Inherited(S.Context), Decls(Decls), FoundDecl(false) {
1376 FoundDecl = true;
1380 FoundDecl = true;
1384 FoundDecl = true;
1421 FoundDecl = true;
1436 bool FoundDeclInUse() { return FoundDecl; }
H A DSemaDeclCXX.cpp11433 NamedDecl *FoundDecl,
11458 Context, cast<CXXRecordDecl>(FoundDecl->getDeclContext()));
11462 FoundDecl, Constructor,
11471 NamedDecl *FoundDecl,
11481 if (auto *Shadow = dyn_cast<ConstructorUsingShadowDecl>(FoundDecl)) {
11432 BuildCXXConstructExpr(SourceLocation ConstructLoc, QualType DeclInitType, NamedDecl *FoundDecl, CXXConstructorDecl *Constructor, MultiExprArg ExprArgs, bool HadMultipleCandidates, bool IsListInitialization, bool IsStdInitListInitialization, bool RequiresZeroInit, unsigned ConstructKind, SourceRange ParenRange) argument
11470 BuildCXXConstructExpr(SourceLocation ConstructLoc, QualType DeclInitType, NamedDecl *FoundDecl, CXXConstructorDecl *Constructor, bool Elidable, MultiExprArg ExprArgs, bool HadMultipleCandidates, bool IsListInitialization, bool IsStdInitListInitialization, bool RequiresZeroInit, unsigned ConstructKind, SourceRange ParenRange) argument
H A DSemaExpr.cpp1988 ND = Best->FoundDecl;
2577 NamedDecl *FoundDecl,
2685 if (FoundDecl->getDeclContext() != Member->getDeclContext()) {
2686 assert(isa<UsingShadowDecl>(FoundDecl));
2688 cast<CXXRecordDecl>(FoundDecl->getDeclContext()));
4664 ND = Best->FoundDecl;
2575 PerformObjectMemberConversion(Expr *From, NestedNameSpecifier *Qualifier, NamedDecl *FoundDecl, NamedDecl *Member) argument
H A DTreeTransform.h2114 NamedDecl *FoundDecl,
2130 FoundDecl, Member);
2150 R.addDecl(FoundDecl);
8611 NamedDecl *FoundDecl = E->getFoundDecl();
8612 if (FoundDecl == E->getMemberDecl()) {
8613 FoundDecl = Member;
8615 FoundDecl = cast_or_null<NamedDecl>(
8616 getDerived().TransformDecl(E->getMemberLoc(), FoundDecl));
8617 if (!FoundDecl)
8625 FoundDecl
2108 RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, bool isArrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, ValueDecl *Member, NamedDecl *FoundDecl, const TemplateArgumentListInfo *ExplicitTemplateArgs, NamedDecl *FirstQualifierInScope) argument
[all...]
/external/clang/lib/Serialization/
H A DASTWriterStmt.cpp589 DeclAccessPair FoundDecl = E->getFoundDecl(); local
590 Record.AddDeclRef(FoundDecl.getDecl());
591 Record.push_back(FoundDecl.getAccess());
H A DASTReaderStmt.cpp3034 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); local
3047 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo,

Completed in 392 milliseconds