Home
last modified time | relevance | path

Searched defs:FoundDecl (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp41 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl) { in getCanonicalSymbolDeclaration()
65 AdditionalUSRFinder(const Decl *FoundDecl, ASTContext &Context) in AdditionalUSRFinder()
209 const Decl *FoundDecl; member in clang::tooling::__anondd8f34f90111::AdditionalUSRFinder
253 const NamedDecl *FoundDecl = QualifiedName.empty() in FindSymbol() local
/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DUnusedAliasDeclsCheck.cpp46 for (const auto &FoundDecl : FoundDecls) { in onEndOfTranslationUnit() local
/llvm-project/clang/include/clang/AST/
H A DASTConcept.h153 ConceptName(ConceptNameInfo), FoundDecl(FoundDecl), in ConceptReference() argument
143 NamedDecl *FoundDecl; global() variable
/llvm-project/clang/lib/AST/
H A DASTConcept.cpp97 Create(const ASTContext & C,NestedNameSpecifierLoc NNS,SourceLocation TemplateKWLoc,DeclarationNameInfo ConceptNameInfo,NamedDecl * FoundDecl,ConceptDecl * NamedConcept,const ASTTemplateArgumentListInfo * ArgsAsWritten) Create() argument
H A DASTImporter.cpp2593 for (auto *FoundDecl : FoundDecls) { VisitNamespaceDecl() local
2718 for (auto *FoundDecl : FoundDecls) { VisitTypedefNameDecl() local
2832 for (auto *FoundDecl : FoundDecls) { VisitTypeAliasTemplateDecl() local
2940 for (auto *FoundDecl : FoundDecls) { VisitEnumDecl() local
3065 for (auto *FoundDecl : FoundDecls) { VisitRecordDecl() local
3289 for (auto *FoundDecl : FoundDecls) { VisitEnumConstantDecl() local
3742 for (auto *FoundDecl : FoundDecls) { VisitFunctionDecl() local
4115 for (auto *FoundDecl : FoundDecls) { VisitFieldDecl() local
4406 for (auto *FoundDecl : FoundDecls) { VisitObjCIvarDecl() local
4474 for (auto *FoundDecl : FoundDecls) { VisitVarDecl() local
4729 for (auto *FoundDecl : FoundDecls) { VisitObjCMethodDecl() local
5045 for (auto *FoundDecl : FoundDecls) { VisitObjCProtocolDecl() local
5569 for (auto *FoundDecl : FoundDecls) { VisitObjCInterfaceDecl() local
5742 for (auto *FoundDecl : FoundDecls) { VisitObjCPropertyDecl() local
6044 for (auto *FoundDecl : FoundDecls) { VisitClassTemplateDecl() local
6367 for (auto *FoundDecl : FoundDecls) { VisitVarTemplateDecl() local
6644 for (auto *FoundDecl : FoundDecls) { VisitFunctionTemplateDecl() local
[all...]
H A DExpr.cpp1717 MemberExpr(Expr * Base,bool IsArrow,SourceLocation OperatorLoc,NestedNameSpecifierLoc QualifierLoc,SourceLocation TemplateKWLoc,ValueDecl * MemberDecl,DeclAccessPair FoundDecl,const DeclarationNameInfo & NameInfo,const TemplateArgumentListInfo * TemplateArgs,QualType T,ExprValueKind VK,ExprObjectKind OK,NonOdrUseReason NOUR) MemberExpr() argument
1757 Create(const ASTContext & C,Expr * Base,bool IsArrow,SourceLocation OperatorLoc,NestedNameSpecifierLoc QualifierLoc,SourceLocation TemplateKWLoc,ValueDecl * MemberDecl,DeclAccessPair FoundDecl,DeclarationNameInfo NameInfo,const TemplateArgumentListInfo * TemplateArgs,QualType T,ExprValueKind VK,ExprObjectKind OK,NonOdrUseReason NOUR) Create() argument
/llvm-project/clang/unittests/Sema/
H A DSemaNoloadLookupTest.cpp98 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, FoundDecl() function
/llvm-project/clang/unittests/AST/
H A DASTImporterFixtures.h406 auto FoundDecl = match(Action.ImportPredicate.bind(DeclToImportID), in testImportSequence() local
417 auto FoundDecl = match(FinalSelectPredicate.bind(DeclToVerifyID), in testImportSequence() local
/llvm-project/clang/include/clang/Sema/
H A DTemplateDeduction.h315 DeclAccessPair FoundDecl; global() member
H A DDelayedDiagnostic.h62 DeclAccessPair FoundDecl, QualType BaseObjectType) in AccessedEntity()
H A DOverload.h858 DeclAccessPair FoundDecl; global() member
1238 DeclAccessPair FoundDecl; global() member
H A DInitialization.h959 DeclAccessPair FoundDecl; member
/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp931 BuildMemberExpr(Expr * Base,bool IsArrow,SourceLocation OpLoc,NestedNameSpecifierLoc NNS,SourceLocation TemplateKWLoc,ValueDecl * Member,DeclAccessPair FoundDecl,bool HadMultipleCandidates,const DeclarationNameInfo & MemberNameInfo,QualType Ty,ExprValueKind VK,ExprObjectKind OK,const TemplateArgumentListInfo * TemplateArgs) BuildMemberExpr() argument
1101 DeclAccessPair FoundDecl = R.begin().getPair(); BuildMemberReferenceExpr() local
1828 BuildFieldReferenceExpr(Expr * BaseExpr,bool IsArrow,SourceLocation OpLoc,const CXXScopeSpec & SS,FieldDecl * Field,DeclAccessPair FoundDecl,const DeclarationNameInfo & MemberNameInfo) BuildFieldReferenceExpr() argument
[all...]
H A DSemaOverload.cpp66 CreateFunctionRefExpr(Sema & S,FunctionDecl * Fn,NamedDecl * FoundDecl,const Expr * Base,bool HadMultipleCandidates,SourceLocation Loc=SourceLocation (),const DeclarationNameLoc & LocInfo=DeclarationNameLoc ()) CreateFunctionRefExpr() argument
3806 DeclAccessPair FoundDecl = I.getPair(); IsUserDefinedConversion() local
5820 PerformImplicitObjectArgumentInitialization(Expr * From,NestedNameSpecifier * Qualifier,NamedDecl * FoundDecl,CXXMethodDecl * Method) PerformImplicitObjectArgumentInitialization() argument
6508 DeclAccessPair FoundDecl = ViableConversions[I]; collectViableConversionCandidates() local
6802 AddOverloadCandidate(FunctionDecl * Function,DeclAccessPair FoundDecl,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet,bool SuppressUserConversions,bool PartialOverloading,bool AllowExplicit,bool AllowExplicitConversions,ADLCallKind IsADLCandidate,ConversionSequenceList EarlyConversions,OverloadCandidateParamOrder PO,bool AggregateCandidateDeduction) AddOverloadCandidate() argument
7368 AddMethodCandidate(DeclAccessPair FoundDecl,QualType ObjectType,Expr::Classification ObjectClassification,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet,bool SuppressUserConversions,OverloadCandidateParamOrder PO) AddMethodCandidate() argument
7395 AddMethodCandidate(CXXMethodDecl * Method,DeclAccessPair FoundDecl,CXXRecordDecl * ActingContext,QualType ObjectType,Expr::Classification ObjectClassification,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet,bool SuppressUserConversions,bool PartialOverloading,ConversionSequenceList EarlyConversions,OverloadCandidateParamOrder PO) AddMethodCandidate() argument
7583 AddMethodTemplateCandidate(FunctionTemplateDecl * MethodTmpl,DeclAccessPair FoundDecl,CXXRecordDecl * ActingContext,TemplateArgumentListInfo * ExplicitTemplateArgs,QualType ObjectType,Expr::Classification ObjectClassification,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet,bool SuppressUserConversions,bool PartialOverloading,OverloadCandidateParamOrder PO) AddMethodTemplateCandidate() argument
7656 AddTemplateOverloadCandidate(FunctionTemplateDecl * FunctionTemplate,DeclAccessPair FoundDecl,TemplateArgumentListInfo * ExplicitTemplateArgs,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet,bool SuppressUserConversions,bool PartialOverloading,bool AllowExplicit,ADLCallKind IsADLCandidate,OverloadCandidateParamOrder PO,bool AggregateCandidateDeduction) AddTemplateOverloadCandidate() argument
7852 AddConversionCandidate(CXXConversionDecl * Conversion,DeclAccessPair FoundDecl,CXXRecordDecl * ActingContext,Expr * From,QualType ToType,OverloadCandidateSet & CandidateSet,bool AllowObjCConversionOnExplicit,bool AllowExplicit,bool AllowResultConversion) AddConversionCandidate() argument
8057 AddTemplateConversionCandidate(FunctionTemplateDecl * FunctionTemplate,DeclAccessPair FoundDecl,CXXRecordDecl * ActingDC,Expr * From,QualType ToType,OverloadCandidateSet & CandidateSet,bool AllowObjCConversionOnExplicit,bool AllowExplicit,bool AllowResultConversion) AddTemplateConversionCandidate() argument
8111 AddSurrogateCandidate(CXXConversionDecl * Conversion,DeclAccessPair FoundDecl,CXXRecordDecl * ActingContext,const FunctionProtoType * Proto,Expr * Object,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet) AddSurrogateCandidate() argument
10012 DeclAccessPair FoundDecl = DeclAccessPair::make(*I, AS_none); AddArgumentDependentLookupCandidates() local
10894 MaybeEmitInheritedConstructorNote(Sema & S,const Decl * FoundDecl) MaybeEmitInheritedConstructorNote() argument
13476 AddOverloadedCallCandidate(Sema & S,DeclAccessPair FoundDecl,TemplateArgumentListInfo * ExplicitTemplateArgs,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet,bool PartialOverloading,bool KnownValid) AddOverloadedCallCandidate() argument
14115 BuildCXXMemberCallExpr(Expr * E,NamedDecl * FoundDecl,CXXConversionDecl * Method,bool HadMultipleCandidates) BuildCXXMemberCallExpr() argument
15317 DeclAccessPair FoundDecl = DeclAccessPair::make(nullptr, AS_public); BuildCallToMemberFunction() local
[all...]
H A DSemaStmtAsm.cpp829 NamedDecl *FoundDecl = nullptr; LookupInlineAsmField() local
[all...]
H A DSemaAccess.cpp1818 CheckMemberOperatorAccess(SourceLocation OpLoc,Expr * ObjectExpr,ArrayRef<Expr * > ArgExprs,DeclAccessPair FoundDecl) CheckMemberOperatorAccess() argument
H A DSemaInit.cpp3908 AddUserConversionStep(FunctionDecl * Function,DeclAccessPair FoundDecl,QualType T,bool HadMultipleCandidates) AddUserConversionStep() argument
3972 AddConstructorInitializationStep(DeclAccessPair FoundDecl,CXXConstructorDecl * Constructor,QualType T,bool HadMultipleCandidates,bool FromInitList,bool AsInitList) AddConstructorInitializationStep() argument
9777 __anon7508643c0d02(FunctionTemplateDecl *TD, CXXDeductionGuideDecl *GD, DeclAccessPair FoundDecl, bool OnlyListConstructors, bool AllowAggregateDeductionCandidate) DeduceTemplateSpecializationFromInitializer() argument
[all...]
H A DSemaTemplate.cpp1139 formImmediatelyDeclaredConstraint(Sema & S,NestedNameSpecifierLoc NS,DeclarationNameInfo NameInfo,ConceptDecl * NamedConcept,NamedDecl * FoundDecl,SourceLocation LAngleLoc,SourceLocation RAngleLoc,QualType ConstrainedType,SourceLocation ParamNameLoc,ArgumentLocAppender Appender,SourceLocation EllipsisLoc) formImmediatelyDeclaredConstraint() argument
1187 AttachTypeConstraint(NestedNameSpecifierLoc NS,DeclarationNameInfo NameInfo,ConceptDecl * NamedConcept,NamedDecl * FoundDecl,const TemplateArgumentListInfo * TemplateArgs,TemplateTypeParmDecl * ConstrainedParameter,SourceLocation EllipsisLoc) AttachTypeConstraint() argument
5557 CheckConceptTemplateId(const CXXScopeSpec & SS,SourceLocation TemplateKWLoc,const DeclarationNameInfo & ConceptNameInfo,NamedDecl * FoundDecl,ConceptDecl * NamedConcept,const TemplateArgumentListInfo * TemplateArgs) CheckConceptTemplateId() argument
[all...]
H A DTreeTransform.h2858 RebuildMemberExpr(Expr * Base,SourceLocation OpLoc,bool isArrow,NestedNameSpecifierLoc QualifierLoc,SourceLocation TemplateKWLoc,const DeclarationNameInfo & MemberNameInfo,ValueDecl * Member,NamedDecl * FoundDecl,const TemplateArgumentListInfo * ExplicitTemplateArgs,NamedDecl * FirstQualifierInScope) RebuildMemberExpr() argument
3662 RebuildConceptSpecializationExpr(NestedNameSpecifierLoc NNS,SourceLocation TemplateKWLoc,DeclarationNameInfo ConceptNameInfo,NamedDecl * FoundDecl,ConceptDecl * NamedConcept,TemplateArgumentListInfo * TALI) RebuildConceptSpecializationExpr() argument
12310 NamedDecl *FoundDecl = E->getFoundDecl(); TransformMemberExpr() local
13599 NamedDecl *FoundDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); TransformOverloadExprDecls() local
[all...]
H A DSemaStmt.cpp1854 bool FoundDecl; global() member in __anon86ccc4100d11::DeclMatcher
H A DSemaLookup.cpp4491 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding, FoundDecl() function in TypoCorrectionConsumer
/llvm-project/clang-tools-extra/clangd/
H A DIncludeFixer.cpp476 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, in collectAccessibleScopes() function
/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp229 DeclAccessPair FoundDecl = DeclAccessPair::make(MemberDecl, AS_public); in makeMemberExpression() local
/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4284 const NamedDecl *FoundDecl = Node.getFoundDecl(); AST_POLYMORPHIC_MATCHER_P() local
4323 const Decl *FoundDecl = Node.getSingleDecl(); AST_MATCHER_P() local
/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp1004 DeclAccessPair FoundDecl = E->getFoundDecl(); VisitMemberExpr() local

12