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

/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
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.h729 DeclAccessPair FoundDecl; member in struct:clang::InitializationSequence::Step::F
1014 DeclAccessPair FoundDecl,
H A DSemaInternal.h130 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
H A DLookup.h698 /// FoundDecl() function to process declarations as they are found.
721 virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
H A DOverload.h599 /// FoundDecl - The original declaration that was looked up /
602 DeclAccessPair FoundDecl; member in struct:clang::OverloadCandidate
H A DSema.h2263 NamedDecl *FoundDecl,
2381 NamedDecl *FoundDecl,
2390 DeclAccessPair FoundDecl,
2402 void AddMethodCandidate(DeclAccessPair FoundDecl,
2409 DeclAccessPair FoundDecl,
2417 DeclAccessPair FoundDecl,
2427 DeclAccessPair FoundDecl,
2434 DeclAccessPair FoundDecl,
2440 DeclAccessPair FoundDecl,
2446 DeclAccessPair FoundDecl,
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
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))
3022 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); local
3043 S.AddTemplateOverloadCandidate(ConstructorTmpl, FoundDecl,
3048 S.AddOverloadCandidate(Constructor, FoundDecl,
3069 User.FoundConversionFunction = Best->FoundDecl;
3154 DeclAccessPair FoundDecl local
3209 DeclAccessPair FoundDecl = I.getPair(); local
4951 PerformObjectArgumentInitialization(Expr *From, NestedNameSpecifier *Qualifier, NamedDecl *FoundDecl, CXXMethodDecl *Method) argument
5412 DeclAccessPair FoundDecl = ViableConversions[I]; local
5685 AddOverloadCandidate(FunctionDecl *Function, DeclAccessPair FoundDecl, ArrayRef<Expr *> Args, OverloadCandidateSet &CandidateSet, bool SuppressUserConversions, bool PartialOverloading, bool AllowExplicit) argument
6073 AddMethodCandidate(DeclAccessPair FoundDecl, QualType ObjectType, Expr::Classification ObjectClassification, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions) argument
6094 AddMethodCandidate(cast<CXXMethodDecl>(Decl), FoundDecl, ActingContext, local
6109 AddMethodCandidate(CXXMethodDecl *Method, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, QualType ObjectType, Expr::Classification ObjectClassification, ArrayRef<Expr *> Args, OverloadCandidateSet &CandidateSet, bool SuppressUserConversions, bool PartialOverloading) argument
6235 AddMethodTemplateCandidate(FunctionTemplateDecl *MethodTmpl, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, TemplateArgumentListInfo *ExplicitTemplateArgs, QualType ObjectType, Expr::Classification ObjectClassification, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions, bool PartialOverloading) argument
6280 AddMethodCandidate(cast<CXXMethodDecl>(Specialization), FoundDecl, local
6289 AddTemplateOverloadCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, TemplateArgumentListInfo *ExplicitTemplateArgs, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions, bool PartialOverloading) argument
6379 AddConversionCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, Expr *From, QualType ToType, OverloadCandidateSet& CandidateSet, bool AllowObjCConversionOnExplicit) argument
6546 AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, CXXRecordDecl *ActingDC, Expr *From, QualType ToType, OverloadCandidateSet &CandidateSet, bool AllowObjCConversionOnExplicit) argument
6588 AddSurrogateCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, const FunctionProtoType *Proto, Expr *Object, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet) argument
[all...]
H A DSemaExprMember.cpp746 FieldDecl *Field, DeclAccessPair FoundDecl,
880 ValueDecl *Member, DeclAccessPair FoundDecl,
886 FoundDecl, MemberNameInfo, TemplateArgs, Ty, VK, OK);
1056 DeclAccessPair FoundDecl = R.begin().getPair(); local
1086 FoundDecl, MemberNameInfo);
1096 FoundDecl, BaseExpr,
1101 TemplateKWLoc, Var, FoundDecl, MemberNameInfo,
1118 TemplateKWLoc, MemberFn, FoundDecl, MemberNameInfo,
1125 TemplateKWLoc, Enum, FoundDecl, MemberNameInfo,
1681 FieldDecl *Field, DeclAccessPair FoundDecl,
877 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
1679 BuildFieldReferenceExpr(Sema &S, Expr *BaseExpr, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument
[all...]
H A DSemaStmtAsm.cpp635 NamedDecl *FoundDecl = CurrBaseResult.getFoundDecl();
636 if (VarDecl *VD = dyn_cast<VarDecl>(FoundDecl))
638 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) {
641 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl))
643 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl))
H A DSemaInit.cpp3042 S.Function.FoundDecl = Found;
3075 DeclAccessPair FoundDecl,
3083 S.Function.FoundDecl = FoundDecl;
3154 S.Function.FoundDecl = DeclAccessPair::make(Constructor, Access);
3362 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); local
3398 S.AddTemplateOverloadCandidate(ConstructorTmpl, FoundDecl,
3411 S.AddOverloadCandidate(Constructor, FoundDecl, Args, CandidateSet,
3541 CtorDecl, Best->FoundDecl.getAccess(), DestType, HadMultipleCandidates,
3850 DeclAccessPair FoundDecl local
3074 AddUserConversionStep(FunctionDecl *Function, DeclAccessPair FoundDecl, QualType T, bool HadMultipleCandidates) argument
4475 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); local
5244 DeclAccessPair FoundDecl local
5263 DeclAccessPair FoundDecl local
[all...]
H A DSemaStmt.cpp1357 bool FoundDecl; member in class:__anon4056::DeclMatcher
1364 Inherited(S.Context), Decls(Decls), FoundDecl(false) {
1371 FoundDecl = true;
1375 FoundDecl = true;
1379 FoundDecl = true;
1416 FoundDecl = true;
1419 bool FoundDeclInUse() { return FoundDecl; }
H A DSemaAccess.cpp158 DeclAccessPair FoundDecl,
161 FoundDecl, BaseObjectType) {
155 AccessTarget(ASTContext &Context, MemberNonce _, CXXRecordDecl *NamingClass, DeclAccessPair FoundDecl, QualType BaseObjectType) argument
H A DSemaLookup.cpp3387 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass);
3404 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass);
3530 Consumer.FoundDecl(ND, Visited.checkHidden(ND), nullptr, false);
3775 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding,
H A DSemaExprCXX.cpp2005 Best->FoundDecl, Diagnose) == AR_inaccessible)
2914 DeclAccessPair FoundDecl,
2950 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl);
2956 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv,
6064 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl, argument
6095 FoundDecl, Method);
2909 BuildCXXCastArgument(Sema &S, SourceLocation CastLoc, QualType Ty, CastKind Kind, CXXMethodDecl *Method, DeclAccessPair FoundDecl, bool HadMultipleCandidates, Expr *From) argument
H A DTreeTransform.h2043 NamedDecl *FoundDecl,
2059 FoundDecl, Member);
2079 R.addDecl(FoundDecl);
8331 NamedDecl *FoundDecl = E->getFoundDecl();
8332 if (FoundDecl == E->getMemberDecl()) {
8333 FoundDecl = Member;
8335 FoundDecl = cast_or_null<NamedDecl>(
8336 getDerived().TransformDecl(E->getMemberLoc(), FoundDecl));
8337 if (!FoundDecl)
8345 FoundDecl
2037 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...]
H A DSemaExpr.cpp1927 ND = Best->FoundDecl;
2516 NamedDecl *FoundDecl,
2624 if (FoundDecl->getDeclContext() != Member->getDeclContext()) {
2625 assert(isa<UsingShadowDecl>(FoundDecl));
2627 cast<CXXRecordDecl>(FoundDecl->getDeclContext()));
4562 ND = Best->FoundDecl;
2514 PerformObjectMemberConversion(Expr *From, NestedNameSpecifier *Qualifier, NamedDecl *FoundDecl, NamedDecl *Member) argument
H A DSemaCodeComplete.cpp1253 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2479 const NamedDecl *FoundDecl = Node.getFoundDecl(); local
2480 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl))
2496 const Decl *FoundDecl = Node.getSingleDecl(); local
2497 return InnerMatcher.matches(*FoundDecl, Finder, Builder);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterStmt.cpp577 DeclAccessPair FoundDecl = E->getFoundDecl(); local
578 Writer.AddDeclRef(FoundDecl.getDecl(), Record);
579 Record.push_back(FoundDecl.getAccess());
H A DASTReaderStmt.cpp2745 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); local
2758 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DExpr.h949 /// \brief Test whether there is a distinct FoundDecl attached to the end of
2292 DeclAccessPair FoundDecl;
2401 return getTrailingObjects<MemberExprNameQualifier>()->FoundDecl;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp1441 NQ->FoundDecl = founddecl;

Completed in 307 milliseconds