Home
last modified time | relevance | path

Searched defs:SemaRef (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project/clang/include/clang/Sema/
H A DSemaBase.h40 Sema &SemaRef; variable
56 Sema &SemaRef; variable
60 ImmediateDiagBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) in ImmediateDiagBuilder()
62 ImmediateDiagBuilder(DiagnosticBuilder &&DB, Sema &SemaRef, unsigned DiagID) in ImmediateDiagBuilder()
H A DSemaInternal.h87 TypoCorrectionConsumer(Sema &SemaRef, in TypoCorrectionConsumer() argument
305 Sema &SemaRef; variable
H A DTemplate.h429 SemaRef(SemaRef) SemaRef() argument
561 Sema &SemaRef; global() variable
586 TemplateDeclInstantiator(Sema & SemaRef,DeclContext * Owner,const MultiLevelTemplateArgumentList & TemplateArgs) TemplateDeclInstantiator() argument
[all...]
H A DSemaOpenACC.h450 SemaOpenACC &SemaRef; global() variable
[all...]
H A DLookup.h376 static bool isAcceptable(Sema &SemaRef, NamedDecl *D, in isAcceptable()
/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp116 getEnclosingTypeAliasTemplateDecl(Sema & SemaRef) getEnclosingTypeAliasTemplateDecl() argument
255 HandleFunction(Sema & SemaRef,const FunctionDecl * Function,MultiLevelTemplateArgumentList & Result,const FunctionDecl * Pattern,bool RelativeToPrimary,bool ForConstraintInstantiation) HandleFunction() argument
384 HandleRecordDecl(Sema & SemaRef,const CXXRecordDecl * Rec,MultiLevelTemplateArgumentList & Result,ASTContext & Context,bool ForConstraintInstantiation) HandleRecordDecl() argument
584 InstantiatingTemplate(Sema & SemaRef,CodeSynthesisContext::SynthesisKind Kind,SourceLocation PointOfInstantiation,SourceRange InstantiationRange,Decl * Entity,NamedDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo * DeductionInfo) InstantiatingTemplate() argument
619 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,Decl * Entity,SourceRange InstantiationRange) InstantiatingTemplate() argument
626 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,FunctionDecl * Entity,ExceptionSpecification,SourceRange InstantiationRange) InstantiatingTemplate() argument
633 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateParameter Param,TemplateDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
643 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,FunctionTemplateDecl * FunctionTemplate,ArrayRef<TemplateArgument> TemplateArgs,CodeSynthesisContext::SynthesisKind Kind,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
657 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
668 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ClassTemplatePartialSpecializationDecl * PartialSpec,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
679 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,VarTemplatePartialSpecializationDecl * PartialSpec,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
690 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ParmVarDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
699 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,NamedDecl * Template,NonTypeTemplateParmDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
709 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,NamedDecl * Template,TemplateTemplateParmDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
719 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TypeAliasTemplateDecl * Entity,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
728 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Template,NamedDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
737 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,concepts::Requirement * Req,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
747 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,concepts::NestedRequirement * Req,ConstraintsCheck,SourceRange InstantiationRange) InstantiatingTemplate() argument
756 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,const RequiresExpr * RE,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
765 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintsCheck,NamedDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
774 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintSubstitution,NamedDecl * Template,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
783 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintNormalization,NamedDecl * Template,SourceRange InstantiationRange) InstantiatingTemplate() argument
791 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ParameterMappingSubstitution,NamedDecl * Template,SourceRange InstantiationRange) InstantiatingTemplate() argument
799 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Entity,BuildingDeductionGuidesTag,SourceRange InstantiationRange) InstantiatingTemplate() argument
1349 TemplateInstantiator(Sema & SemaRef,const MultiLevelTemplateArgumentList & TemplateArgs,SourceLocation Loc,DeclarationName Entity) TemplateInstantiator() argument
[all...]
H A DSemaExprMember.cpp34 isProvablyNotDerivedFrom(Sema & SemaRef,CXXRecordDecl * Record,const BaseSet & Bases) isProvablyNotDerivedFrom() argument
94 ClassifyImplicitMemberAccess(Sema & SemaRef,const LookupResult & R) ClassifyImplicitMemberAccess() argument
223 diagnoseInstanceReference(Sema & SemaRef,const CXXScopeSpec & SS,NamedDecl * Rep,const DeclarationNameInfo & nameInfo) diagnoseInstanceReference() argument
600 DiagnoseQualifiedMemberReference(Sema & SemaRef,Expr * BaseExpr,QualType BaseType,const CXXScopeSpec & SS,NamedDecl * rep,const DeclarationNameInfo & nameInfo) DiagnoseQualifiedMemberReference() argument
703 LookupMemberExprInRecord(Sema & SemaRef,LookupResult & R,Expr * BaseExpr,QualType RTy,SourceLocation OpLoc,bool IsArrow,CXXScopeSpec & SS,bool HasTemplateArgs,SourceLocation TemplateKWLoc,TypoExpr * & TE) LookupMemberExprInRecord() argument
736 Sema &SemaRef; LookupMemberExprInRecord() member
761 __anonbd9bbf1f0502(Sema &SemaRef, TypoExpr *TE, TypoCorrection TC) LookupMemberExprInRecord() argument
[all...]
H A DSemaLookup.cpp98 Sema &SemaRef; global() member in __anond4728be20111::UnqualUsingDirectiveSet
106 UnqualUsingDirectiveSet(Sema & SemaRef) UnqualUsingDirectiveSet() argument
1808 isAcceptableSlow(Sema & SemaRef,NamedDecl * D,Sema::AcceptableKind Kind) isAcceptableSlow() argument
1935 isReachableSlow(Sema & SemaRef,NamedDecl * D) isReachableSlow() argument
2039 findAcceptableDecl(Sema & SemaRef,NamedDecl * D,unsigned IDNS) findAcceptableDecl() argument
2098 isVisible(Sema & SemaRef,NamedDecl * D) isVisible() argument
2108 isReachable(Sema & SemaRef,NamedDecl * D) isReachable() argument
2115 isAvailableForLookup(Sema & SemaRef,NamedDecl * ND) isAvailableForLookup() argument
4020 lookupVisibleDecls(Sema & SemaRef,Scope * S,Sema::LookupNameKind Kind,bool IncludeGlobalScope) lookupVisibleDecls() argument
4044 lookupVisibleDecls(Sema & SemaRef,DeclContext * Ctx,Sema::LookupNameKind Kind,bool IncludeGlobalScope) lookupVisibleDecls() argument
4414 checkCorrectionVisibility(Sema & SemaRef,TypoCorrection & TC) checkCorrectionVisibility() argument
4911 LookupPotentialTypoResult(Sema & SemaRef,LookupResult & Res,IdentifierInfo * Name,Scope * S,CXXScopeSpec * SS,DeclContext * MemberContext,bool EnteringContext,bool isObjCIvarLookup,bool FindHidden) LookupPotentialTypoResult() argument
4966 AddKeywordsToConsumer(Sema & SemaRef,TypoCorrectionConsumer & Consumer,Scope * S,CorrectionCandidateCallback & CCC,bool AfterNestedNameSpecifier) AddKeywordsToConsumer() argument
5448 FunctionCallFilterCCC(Sema & SemaRef,unsigned NumArgs,bool HasExplicitTemplateArgs,MemberExpr * ME) FunctionCallFilterCCC() argument
[all...]
H A DCodeCompleteConsumer.cpp648 ProcessCodeCompleteResults(Sema & SemaRef,CodeCompletionContext Context,CodeCompletionResult * Results,unsigned NumResults) ProcessCodeCompleteResults() argument
756 ProcessOverloadCandidates(Sema & SemaRef,unsigned CurrentArg,OverloadCandidate * Candidates,unsigned NumCandidates,SourceLocation OpenParLoc,bool Braced) ProcessOverloadCandidates() argument
H A DSemaOpenMP.cpp244 Sema &SemaRef; global() member in __anona1d9ac770111::DSAStackTy
1552 buildVarDecl(Sema & SemaRef,SourceLocation Loc,QualType Type,StringRef Name,const AttrVec * Attrs=nullptr,DeclRefExpr * OrigRef=nullptr) buildVarDecl() argument
1708 isConstNotMutableType(Sema & SemaRef,QualType Type,bool AcceptIfMutable=true,bool * IsClassType=nullptr) isConstNotMutableType() argument
1727 rejectConstNotMutableType(Sema & SemaRef,const ValueDecl * D,QualType Type,OpenMPClauseKind CKind,SourceLocation ELoc,bool AcceptIfMutable=true,bool ListItemNotVar=false) rejectConstNotMutableType() argument
3014 finishLinearClauses(Sema & SemaRef,ArrayRef<OMPClause * > Clauses,OMPLoopBasedDirective::HelperExprs & B,DSAStackTy * Stack) finishLinearClauses() argument
3041 Sema &SemaRef; global() member in __anona1d9ac771e11::VarDeclFilterCCC
3062 Sema &SemaRef; global() member in __anona1d9ac771e11::VarOrFuncDeclFilterCCC
3227 Sema &SemaRef; global() member in __anona1d9ac771f11::LocalVarRefChecker
3250 LocalVarRefChecker(Sema & SemaRef) LocalVarRefChecker() argument
3624 reportOriginalDsa(Sema & SemaRef,const DSAStackTy * Stack,const ValueDecl * D,const DSAStackTy::DSAVarData & DVar,bool IsLoopIterVar) reportOriginalDsa() argument
3728 Sema &SemaRef; global() member in __anona1d9ac772111::DSAAttrChecker
4209 DSAAttrChecker(DSAStackTy * S,Sema & SemaRef,CapturedStmt * CS) DSAAttrChecker() argument
4238 getParallelRegionParams(Sema & SemaRef,bool LoopBoundSharing) getParallelRegionParams() argument
4260 getTeamsRegionParams(Sema & SemaRef) getTeamsRegionParams() argument
4265 getTaskRegionParams(Sema & SemaRef) getTaskRegionParams() argument
4289 getTargetRegionParams(Sema & SemaRef) getTargetRegionParams() argument
4302 getUnknownRegionParams(Sema & SemaRef) getUnknownRegionParams() argument
4310 getTaskloopRegionParams(Sema & SemaRef) getTaskloopRegionParams() argument
4343 processCapturedRegions(Sema & SemaRef,OpenMPDirectiveKind DKind,Scope * CurScope,SourceLocation Loc) processCapturedRegions() argument
4762 checkCancelRegion(Sema & SemaRef,OpenMPDirectiveKind CurrentRegion,OpenMPDirectiveKind CancelRegion,SourceLocation StartLoc) checkCancelRegion() argument
4778 checkNestingOfRegions(Sema & SemaRef,const DSAStackTy * Stack,OpenMPDirectiveKind CurrentRegion,const DeclarationNameInfo & CurrentName,OpenMPDirectiveKind CancelRegion,OpenMPBindClauseKind BindKind,SourceLocation StartLoc) checkNestingOfRegions() argument
5920 Sema &SemaRef; global() member in __anona1d9ac773711::TeamsLoopChecker
5974 TeamsLoopChecker(Sema & SemaRef) TeamsLoopChecker() argument
5982 teamsLoopCanBeParallelFor(Stmt * AStmt,Sema & SemaRef) teamsLoopCanBeParallelFor() argument
7669 setBranchProtectedScope(Sema & SemaRef,OpenMPDirectiveKind DKind,Stmt * AStmt) setBranchProtectedScope() argument
7761 Sema &SemaRef; global() member in __anona1d9ac773c11::OpenMPIterationSpaceChecker
7813 OpenMPIterationSpaceChecker(Sema & SemaRef,bool SupportsNonRectangular,DSAStackTy & Stack,SourceLocation DefaultLoc) OpenMPIterationSpaceChecker() argument
8012 Sema &SemaRef; global() member in __anona1d9ac773c11::__anona1d9ac773d11::LoopCounterRefChecker
8087 LoopCounterRefChecker(Sema & SemaRef,DSAStackTy & Stack,const ValueDecl * CurLCDecl,bool IsInitializer,const ValueDecl * PrevDepDecl=nullptr,bool SupportsNonRectangular=true) LoopCounterRefChecker() argument
8395 tryBuildCapture(Sema & SemaRef,Expr * Capture,llvm::MapVector<const Expr *,DeclRefExpr * > & Captures,StringRef Name=".capture_expr.") tryBuildCapture() argument
8416 calculateNumIters(Sema & SemaRef,Scope * S,SourceLocation DefaultLoc,Expr * Lower,Expr * Upper,Expr * Step,QualType LCTy,bool TestIsStrictOp,bool RoundToStep,llvm::MapVector<const Expr *,DeclRefExpr * > & Captures) calculateNumIters() argument
9153 checkOpenMPIterationSpace(OpenMPDirectiveKind DKind,Stmt * S,Sema & SemaRef,DSAStackTy & DSA,unsigned CurrentNestedLoopCount,unsigned NestedLoopCount,unsigned TotalNestedLoopCount,Expr * CollapseLoopCountExpr,Expr * OrderedLoopCountExpr,SemaOpenMP::VarsWithInheritedDSAType & VarsWithImplicitDSA,llvm::MutableArrayRef<LoopIterationSpace> ResultIterSpaces,llvm::MapVector<const Expr *,DeclRefExpr * > & Captures) checkOpenMPIterationSpace() argument
9370 buildCounterInit(Sema & SemaRef,Scope * S,SourceLocation Loc,ExprResult VarRef,ExprResult Start,bool IsNonRectangularLB,llvm::MapVector<const Expr *,DeclRefExpr * > & Captures) buildCounterInit() argument
9395 buildCounterUpdate(Sema & SemaRef,Scope * S,SourceLocation Loc,ExprResult VarRef,ExprResult Start,ExprResult Iter,ExprResult Step,bool Subtract,bool IsNonRectangularLB,llvm::MapVector<const Expr *,DeclRefExpr * > * Captures=nullptr) buildCounterUpdate() argument
9470 widenIterationCount(unsigned Bits,Expr * E,Sema & SemaRef) widenIterationCount() argument
9486 fitsInto(unsigned Bits,bool Signed,const Expr * E,Sema & SemaRef) fitsInto() argument
9574 checkOpenMPLoop(OpenMPDirectiveKind DKind,Expr * CollapseLoopCountExpr,Expr * OrderedLoopCountExpr,Stmt * AStmt,Sema & SemaRef,DSAStackTy & DSA,SemaOpenMP::VarsWithInheritedDSAType & VarsWithImplicitDSA,OMPLoopBasedDirective::HelperExprs & Built) checkOpenMPLoop() argument
10439 checkSectionsDirective(Sema & SemaRef,OpenMPDirectiveKind DKind,Stmt * AStmt,DSAStackTy * Stack) checkSectionsDirective() argument
11303 Sema &SemaRef; global() member in __anona1d9ac774311::OpenMPAtomicUpdateChecker
11324 OpenMPAtomicUpdateChecker(Sema & SemaRef) OpenMPAtomicUpdateChecker() argument
15873 isNonNegativeIntegerValue(Expr * & ValExpr,Sema & SemaRef,OpenMPClauseKind CKind,bool StrictlyPositive,bool BuildCapture=false,OpenMPDirectiveKind DKind=OMPD_unknown,OpenMPDirectiveKind * CaptureRegion=nullptr,Stmt ** HelperValStmt=nullptr) isNonNegativeIntegerValue() argument
17168 isValidInteropVariable(Sema & SemaRef,Expr * InteropVarExpr,SourceLocation VarLoc,OpenMPClauseKind Kind) isValidInteropVariable() argument
18301 TransformExprToCaptures(Sema & SemaRef,ValueDecl * FieldDecl) TransformExprToCaptures() argument
18328 findAcceptableDecl(Sema & SemaRef,NamedDecl * D) findAcceptableDecl() argument
18345 argumentDependentLookup(Sema & SemaRef,const DeclarationNameInfo & Id,SourceLocation Loc,QualType Ty,SmallVectorImpl<UnresolvedSet<8>> & Lookups) argumentDependentLookup() argument
18403 buildDeclareReductionRef(Sema & SemaRef,SourceLocation Loc,SourceRange Range,Scope * S,CXXScopeSpec & ReductionIdScopeSpec,const DeclarationNameInfo & ReductionId,QualType Ty,CXXCastPath & BasePath,Expr * UnresolvedReduction) buildDeclareReductionRef() argument
19710 FinishOpenMPLinearClause(OMPLinearClause & Clause,DeclRefExpr * IV,Expr * NumIterations,Sema & SemaRef,Scope * S,DSAStackTy * Stack) FinishOpenMPLinearClause() argument
20167 ProcessOpenMPDoacrossClauseCommon(Sema & SemaRef,bool IsSource,ArrayRef<Expr * > VarList,DSAStackTy * Stack,SourceLocation EndLoc) ProcessOpenMPDoacrossClauseCommon() argument
20533 checkTypeMappable(SourceLocation SL,SourceRange SR,Sema & SemaRef,DSAStackTy * Stack,QualType QTy,bool FullCheck=true) checkTypeMappable() argument
20547 checkArrayExpressionDoesNotReferToWholeSize(Sema & SemaRef,const Expr * E,QualType BaseQTy) checkArrayExpressionDoesNotReferToWholeSize() argument
20605 checkArrayExpressionDoesNotReferToUnitySize(Sema & SemaRef,const Expr * E,QualType BaseQTy) checkArrayExpressionDoesNotReferToUnitySize() argument
20675 Sema &SemaRef; global() member in __anona1d9ac776a11::MapBaseChecker
20975 MapBaseChecker(Sema & SemaRef,OpenMPClauseKind CKind,OpenMPDirectiveKind DKind,OMPClauseMappableExprCommon::MappableExprComponentList & Components,bool NoDiagnose,SourceLocation & ELoc,SourceRange & ERange) MapBaseChecker() argument
20988 checkMapClauseExpressionBase(Sema & SemaRef,Expr * E,OMPClauseMappableExprCommon::MappableExprComponentList & CurComponents,OpenMPClauseKind CKind,OpenMPDirectiveKind DKind,bool NoDiagnose) checkMapClauseExpressionBase() argument
21020 checkMapConflicts(Sema & SemaRef,DSAStackTy * DSAS,const ValueDecl * VD,const Expr * E,bool CurrentRegionOnly,OMPClauseMappableExprCommon::MappableExprComponentListRef CurComponents,OpenMPClauseKind CKind) checkMapConflicts() argument
21266 buildUserDefinedMapperRef(Sema & SemaRef,Scope * S,CXXScopeSpec & MapperIdScopeSpec,const DeclarationNameInfo & MapperId,QualType Type,Expr * UnresolvedMapper) buildUserDefinedMapperRef() argument
21408 checkMappableExpressionList(Sema & SemaRef,DSAStackTy * DSAS,OpenMPClauseKind CKind,MappableVarListInfo & MVLI,SourceLocation StartLoc,CXXScopeSpec & MapperIdScopeSpec,DeclarationNameInfo MapperId,ArrayRef<Expr * > UnresolvedMappers,OpenMPMapClauseKind MapType=OMPC_MAP_unknown,ArrayRef<OpenMPMapModifierKind> Modifiers=std::nullopt,bool IsMapTypeImplicit=false,bool NoDiagnose=false) checkMappableExpressionList() argument
22704 checkDeclInTargetContext(SourceLocation SL,SourceRange SR,Sema & SemaRef,Decl * D) checkDeclInTargetContext() argument
22735 checkValueDeclInTarget(SourceLocation SL,SourceRange SR,Sema & SemaRef,DSAStackTy * Stack,ValueDecl * VD) checkValueDeclInTarget() argument
[all...]
H A DCheckExprLifetime.cpp1284 static bool shouldRunGSLAssignmentAnalysis(const Sema &SemaRef, in checkExprLifetime() argument
969 checkExprLifetimeImpl(Sema & SemaRef,const InitializedEntity * InitEntity,const InitializedEntity * ExtendingEntity,LifetimeKind LK,const AssignedEntity * AEntity,Expr * Init) checkExprLifetimeImpl() argument
1276 checkExprLifetime(Sema & SemaRef,const InitializedEntity & Entity,Expr * Init) checkExprLifetime() argument
[all...]
H A DSemaStmt.cpp897 Sema &SemaRef; global() member in __anon86ccc4100a11::CommaVisitor
899 CommaVisitor(Sema & SemaRef) CommaVisitor() argument
2237 FinishForRangeVarDecl(Sema & SemaRef,VarDecl * Decl,Expr * Init,SourceLocation Loc,int DiagID) FinishForRangeVarDecl() argument
2293 NoteForRangeBeginEndFunction(Sema & SemaRef,Expr * E,BeginEndFunction BEF) NoteForRangeBeginEndFunction() argument
2316 BuildForRangeVarDecl(Sema & SemaRef,SourceLocation Loc,QualType Type,StringRef Name) BuildForRangeVarDecl() argument
2422 BuildNonArrayForRange(Sema & SemaRef,Expr * BeginRange,Expr * EndRange,QualType RangeType,VarDecl * BeginVar,VarDecl * EndVar,SourceLocation ColonLoc,SourceLocation CoawaitLoc,OverloadCandidateSet * CandidateSet,ExprResult * BeginExpr,ExprResult * EndExpr,BeginEndFunction * BEF) BuildNonArrayForRange() argument
2556 RebuildForRangeWithDereference(Sema & SemaRef,Scope * S,SourceLocation ForLoc,SourceLocation CoawaitLoc,Stmt * InitStmt,Stmt * LoopVarDecl,SourceLocation ColonLoc,Expr * Range,SourceLocation RangeLoc,SourceLocation RParenLoc) RebuildForRangeWithDereference() argument
2935 DiagnoseForRangeReferenceVariableCopies(Sema & SemaRef,const VarDecl * VD,QualType RangeInitType) DiagnoseForRangeReferenceVariableCopies() argument
3024 DiagnoseForRangeConstVariableCopies(Sema & SemaRef,const VarDecl * VD) DiagnoseForRangeConstVariableCopies() argument
3069 DiagnoseForRangeVariableCopies(Sema & SemaRef,const CXXForRangeStmt * ForStmt) DiagnoseForRangeVariableCopies() argument
[all...]
H A DSemaConcept.cpp69 return recreateBinOp(SemaRef, LHS, const_cast<Expr *>(getRHS())); in recreateBinOp() argument
73 recreateBinOp(Sema & SemaRef,ExprResult LHS,ExprResult RHS) const recreateBinOp() argument
163 Sema &SemaRef; global() member
764 AdjustConstraintDepth(Sema & SemaRef,unsigned TemplateDepth) AdjustConstraintDepth() argument
[all...]
H A DSemaTemplate.cpp898 translateTemplateArgument(Sema & SemaRef,const ParsedTemplateArgument & Arg) translateTemplateArgument() argument
939 maybeDiagnoseTemplateParameterShadow(Sema & SemaRef,Scope * S,SourceLocation Loc,const IdentifierInfo * Name) maybeDiagnoseTemplateParameterShadow() argument
1680 ConstraintRefersToContainingTemplateChecker(Sema & SemaRef,const FunctionDecl * Friend,unsigned TemplateDepth) ConstraintRefersToContainingTemplateChecker() argument
2185 ExtractTypeForDeductionGuide(Sema & SemaRef,llvm::SmallVectorImpl<TypedefNameDecl * > & MaterializedTypedefs) ExtractTypeForDeductionGuide() argument
2225 buildDeductionGuide(Sema & SemaRef,TemplateDecl * OriginalTemplate,TemplateParameterList * TemplateParams,CXXConstructorDecl * Ctor,ExplicitSpecifier ES,TypeSourceInfo * TInfo,SourceLocation LocStart,SourceLocation Loc,SourceLocation LocEnd,bool IsImplicit,llvm::ArrayRef<TypedefNameDecl * > MaterializedTypedefs={}) buildDeductionGuide() argument
2267 transformTemplateTypeParam(Sema & SemaRef,DeclContext * DC,TemplateTypeParmDecl * TTP,MultiLevelTemplateArgumentList & Args,unsigned NewDepth,unsigned NewIndex) transformTemplateTypeParam() argument
2296 transformTemplateParam(Sema & SemaRef,DeclContext * DC,NonTypeTemplateOrTemplateTemplateParmDecl * OldParam,MultiLevelTemplateArgumentList & Args,unsigned NewIndex,unsigned NewDepth) transformTemplateParam() argument
2329 Sema &SemaRef; global() member
2720 transformTemplateParameter(Sema & SemaRef,DeclContext * DC,NamedDecl * TemplateParam,MultiLevelTemplateArgumentList & Args,unsigned NewIndex,unsigned NewDepth) transformTemplateParameter() argument
2743 buildAssociatedConstraints(Sema & SemaRef,FunctionTemplateDecl * F,TypeAliasTemplateDecl * AliasTemplate,ArrayRef<DeducedTemplateArgument> DeduceResults,unsigned FirstUndeducedParamIdx,Expr * IsDeducible) buildAssociatedConstraints() argument
2894 buildIsDeducibleConstraint(Sema & SemaRef,TypeAliasTemplateDecl * AliasTemplate,QualType ReturnType,SmallVector<NamedDecl * > TemplateParams) buildIsDeducibleConstraint() argument
2947 getRHSTemplateDeclAndArgs(Sema & SemaRef,TypeAliasTemplateDecl * AliasTemplate) getRHSTemplateDeclAndArgs() argument
2978 BuildDeductionGuideForTypeAlias(Sema & SemaRef,TypeAliasTemplateDecl * AliasTemplate,FunctionTemplateDecl * F,SourceLocation Loc) BuildDeductionGuideForTypeAlias() argument
3179 DeclareImplicitDeductionGuidesForTypeAlias(Sema & SemaRef,TypeAliasTemplateDecl * AliasTemplate,SourceLocation Loc) DeclareImplicitDeductionGuidesForTypeAlias() argument
3217 DeclareAggregateDeductionGuideForTypeAlias(Sema & SemaRef,TypeAliasTemplateDecl * AliasTemplate,MutableArrayRef<QualType> ParamTypes,SourceLocation Loc) DeclareAggregateDeductionGuideForTypeAlias() argument
4279 checkBuiltinTemplateIdType(Sema & SemaRef,BuiltinTemplateDecl * BTD,ArrayRef<TemplateArgument> Converted,SourceLocation TemplateLoc,TemplateArgumentListInfo & TemplateArgs) checkBuiltinTemplateIdType() argument
5968 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,TemplateTypeParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted,TemplateArgumentLoc & Output) SubstDefaultTemplateArgument() argument
6028 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,NonTypeTemplateParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted,TemplateArgumentLoc & Output) SubstDefaultTemplateArgument() argument
6078 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,TemplateTemplateParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted,NestedNameSpecifierLoc & QualifierLoc) SubstDefaultTemplateArgument() argument
11857 CurrentInstantiationRebuilder(Sema & SemaRef,SourceLocation Loc,DeclarationName Entity) CurrentInstantiationRebuilder() argument
[all...]
H A DSemaAvailability.cpp761 Sema &SemaRef; global() member in __anon19b5bb430411::DiagnoseUnguardedAvailability
772 DiagnoseUnguardedAvailability(Sema & SemaRef,Decl * Ctx) DiagnoseUnguardedAvailability() argument
[all...]
H A DSemaHLSL.cpp536 Sema &SemaRef; global() member in __anon19652bbb0311::DiagnoseHLSLAvailability
631 DiagnoseHLSLAvailability(Sema & SemaRef) DiagnoseHLSLAvailability() argument
[all...]
H A DSemaDeclCXX.cpp1679 CheckLiteralType(Sema & SemaRef,Sema::CheckConstexprKind Kind,SourceLocation Loc,QualType T,unsigned DiagID,Ts &&...DiagArgs) CheckLiteralType() argument
1698 CheckConstexprDestructorSubobjects(Sema & SemaRef,const CXXDestructorDecl * DD,Sema::CheckConstexprKind Kind) CheckConstexprDestructorSubobjects() argument
1731 CheckConstexprParameterTypes(Sema & SemaRef,const FunctionDecl * FD,Sema::CheckConstexprKind Kind) CheckConstexprParameterTypes() argument
1755 CheckConstexprReturnType(Sema & SemaRef,const FunctionDecl * FD,Sema::CheckConstexprKind Kind) CheckConstexprReturnType() argument
1878 CheckConstexprDeclStmt(Sema & SemaRef,const FunctionDecl * Dcl,DeclStmt * DS,SourceLocation & Cxx1yLoc,Sema::CheckConstexprKind Kind) CheckConstexprDeclStmt() argument
2031 CheckConstexprCtorInitializer(Sema & SemaRef,const FunctionDecl * Dcl,FieldDecl * Field,llvm::SmallSet<Decl *,16> & Inits,bool & Diagnosed,Sema::CheckConstexprKind Kind) CheckConstexprCtorInitializer() argument
2087 CheckConstexprFunctionStmt(Sema & SemaRef,const FunctionDecl * Dcl,Stmt * S,SmallVectorImpl<SourceLocation> & ReturnStmts,SourceLocation & Cxx1yLoc,SourceLocation & Cxx2aLoc,SourceLocation & Cxx2bLoc,Sema::CheckConstexprKind Kind) CheckConstexprFunctionStmt() argument
2249 CheckConstexprFunctionBody(Sema & SemaRef,const FunctionDecl * Dcl,Stmt * Body,Sema::CheckConstexprKind Kind) CheckConstexprFunctionBody() argument
2458 CheckConstexprMissingReturn(Sema & SemaRef,const FunctionDecl * Dcl) CheckConstexprMissingReturn() argument
2508 Sema &SemaRef; DiagnoseImmediateEscalatingReason() member
3965 DiagnoseUninitializedFields(Sema & SemaRef,const CXXConstructorDecl * Constructor) DiagnoseUninitializedFields() argument
4128 FindBaseInitializer(Sema & SemaRef,CXXRecordDecl * ClassDecl,QualType BaseType,const CXXBaseSpecifier * & DirectBaseSpec,const CXXBaseSpecifier * & VirtualBaseSpec) FindBaseInitializer() argument
4762 CastForMoving(Sema & SemaRef,Expr * E) CastForMoving() argument
4785 BuildImplicitBaseInitializer(Sema & SemaRef,CXXConstructorDecl * Constructor,ImplicitInitializerKind ImplicitInitKind,CXXBaseSpecifier * BaseSpec,bool IsInheritedVirtualBase,CXXCtorInitializer * & CXXBaseInit) BuildImplicitBaseInitializer() argument
4868 BuildImplicitMemberInitializer(Sema & SemaRef,CXXConstructorDecl * Constructor,ImplicitInitializerKind ImplicitInitKind,FieldDecl * Field,IndirectFieldDecl * Indirect,CXXCtorInitializer * & CXXMemberInit) BuildImplicitMemberInitializer() argument
5132 CollectFieldInitializer(Sema & SemaRef,BaseAndFieldInfo & Info,FieldDecl * Field,IndirectFieldDecl * Indirect=nullptr) CollectFieldInitializer() argument
5437 DiagnoseBaseOrMemInitializerOrder(Sema & SemaRef,const CXXConstructorDecl * Constructor,ArrayRef<CXXCtorInitializer * > Inits) DiagnoseBaseOrMemInitializerOrder() argument
16045 CheckOperatorNewDeleteDeclarationScope(Sema & SemaRef,const FunctionDecl * FnDecl) CheckOperatorNewDeleteDeclarationScope() argument
16064 RemoveAddressSpaceFromPtr(Sema & SemaRef,const PointerType * PtrTy) RemoveAddressSpaceFromPtr() argument
16074 CheckOperatorNewDeleteTypes(Sema & SemaRef,const FunctionDecl * FnDecl,CanQualType ExpectedResultType,CanQualType ExpectedFirstParamType,unsigned DependentParamTypeDiag,unsigned InvalidParamTypeDiag) CheckOperatorNewDeleteTypes() argument
16145 CheckOperatorNewDeclaration(Sema & SemaRef,const FunctionDecl * FnDecl) CheckOperatorNewDeclaration() argument
16176 CheckOperatorDeleteDeclaration(Sema & SemaRef,FunctionDecl * FnDecl) CheckOperatorDeleteDeclaration() argument
16387 checkLiteralOperatorTemplateParameterList(Sema & SemaRef,FunctionTemplateDecl * TpDecl) checkLiteralOperatorTemplateParameterList() argument
[all...]
H A DSemaStmtAttr.cpp233 CheckStmtInlineAttr(Sema & SemaRef,const Stmt * OrigSt,const Stmt * CurSt,const AttributeCommonInfo & A) CheckStmtInlineAttr() argument
H A DSemaOverload.cpp1263 IsOverloadOrOverrideImpl(Sema & SemaRef,FunctionDecl * New,FunctionDecl * Old,bool UseMemberUsingDeclRules,bool ConsiderCudaAttrs,bool UseOverrideRules=false) IsOverloadOrOverrideImpl() argument
6402 diagnoseAmbiguousConversion(Sema & SemaRef,SourceLocation Loc,Expr * From,Sema::ContextualImplicitConverter & Converter,QualType T,UnresolvedSetImpl & ViableConversions) diagnoseAmbiguousConversion() argument
6420 diagnoseNoViableConversion(Sema & SemaRef,SourceLocation Loc,Expr * & From,Sema::ContextualImplicitConverter & Converter,QualType T,bool HadMultipleCandidates,UnresolvedSetImpl & ExplicitConversions) diagnoseNoViableConversion() argument
6464 recordConversion(Sema & SemaRef,SourceLocation Loc,Expr * & From,Sema::ContextualImplicitConverter & Converter,QualType T,bool HadMultipleCandidates,DeclAccessPair & Found) recordConversion() argument
6494 finishContextualImplicitConversion(Sema & SemaRef,SourceLocation Loc,Expr * From,Sema::ContextualImplicitConverter & Converter) finishContextualImplicitConversion() argument
6504 collectViableConversionCandidates(Sema & SemaRef,Expr * From,QualType ToType,UnresolvedSetImpl & ViableConversions,OverloadCandidateSet & CandidateSet) collectViableConversionCandidates() argument
8426 Sema &SemaRef; global() member in __anond63fa3841211::BuiltinCandidateTypeSet
8439 BuiltinCandidateTypeSet(Sema & SemaRef) BuiltinCandidateTypeSet() argument
13595 DiagnoseTwoPhaseLookup(Sema & SemaRef,SourceLocation FnLoc,const CXXScopeSpec & SS,LookupResult & R,OverloadCandidateSet::CandidateSetKind CSK,TemplateArgumentListInfo * ExplicitTemplateArgs,ArrayRef<Expr * > Args,CXXRecordDecl ** FoundInClass=nullptr) DiagnoseTwoPhaseLookup() argument
13703 DiagnoseTwoPhaseOperatorLookup(Sema & SemaRef,OverloadedOperatorKind Op,SourceLocation OpLoc,ArrayRef<Expr * > Args) DiagnoseTwoPhaseOperatorLookup() argument
13716 Sema &SemaRef; global() member in __anond63fa3842b11::BuildRecoveryCallExprRAII
13737 BuildRecoveryCallExpr(Sema & SemaRef,Scope * S,Expr * Fn,UnresolvedLookupExpr * ULE,SourceLocation LParenLoc,MutableArrayRef<Expr * > Args,SourceLocation RParenLoc,bool EmptyLookup,bool AllowTypoCorrection) BuildRecoveryCallExpr() argument
13939 FinishOverloadedCallExpr(Sema & SemaRef,Scope * S,Expr * Fn,UnresolvedLookupExpr * ULE,SourceLocation LParenLoc,MultiExprArg Args,SourceLocation RParenLoc,Expr * ExecConfig,OverloadCandidateSet * CandidateSet,OverloadCandidateSet::iterator * Best,OverloadingResult OverloadResult,bool AllowTypoCorrection) FinishOverloadedCallExpr() argument
[all...]
H A DSemaCodeComplete.cpp161 Sema &SemaRef; global() member in __anonca10f8fc0111::ResultBuilder
216 ResultBuilder(Sema & SemaRef,CodeCompletionAllocator & Allocator,CodeCompletionTUInfo & CCTUInfo,const CodeCompletionContext & CompletionContext,LookupFilter Filter=nullptr) ResultBuilder() argument
769 shouldIgnoreDueToReservedName(const NamedDecl * ND,Sema & SemaRef) shouldIgnoreDueToReservedName() argument
2136 AddOrdinaryNameResults(SemaCodeCompletion::ParserCompletionContext CCC,Scope * S,Sema & SemaRef,ResultBuilder & Results) AddOrdinaryNameResults() argument
5180 AddRecordMembersCompletionResults(Sema & SemaRef,ResultBuilder & Results,Scope * S,QualType BaseType,ExprValueKind BaseKind,RecordDecl * RD,std::optional<FixItHint> AccessOpFixIt) AddRecordMembersCompletionResults() argument
6100 mergeCandidatesWithResults(Sema & SemaRef,SmallVectorImpl<ResultCandidate> & Results,OverloadCandidateSet & CandidateSet,SourceLocation Loc,size_t ArgSize) mergeCandidatesWithResults() argument
6132 getParamType(Sema & SemaRef,ArrayRef<ResultCandidate> Candidates,unsigned N) getParamType() argument
6158 ProduceSignatureHelp(Sema & SemaRef,MutableArrayRef<ResultCandidate> Candidates,unsigned CurrentArg,SourceLocation OpenParLoc,bool Braced) ProduceSignatureHelp() argument
8193 AddClassMessageCompletions(Sema & SemaRef,Scope * S,ParsedType Receiver,ArrayRef<const IdentifierInfo * > SelIdents,bool AtArgumentExpression,bool IsSuper,ResultBuilder & Results) AddClassMessageCompletions() argument
[all...]
H A DSemaLambda.cpp234 getGenericLambdaTemplateParameterList(LambdaScopeInfo * LSI,Sema & SemaRef) getGenericLambdaTemplateParameterList() argument
2376 LambdaScopeForCallOperatorInstantiationRAII(Sema & SemaRef,FunctionDecl * FD,MultiLevelTemplateArgumentList MLTAL,LocalInstantiationScope & Scope,bool ShouldAddDeclsFromParentScope) LambdaScopeForCallOperatorInstantiationRAII() argument
/llvm-project/clang/lib/Frontend/
H A DTestModuleFileExtension.cpp23 Sema &SemaRef, in writeExtensionContents()
/llvm-project/clang/lib/ARCMigrate/
H A DInternals.h151 Sema &SemaRef; variable
/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3559 WriteSelectors(Sema & SemaRef) WriteSelectors() argument
3666 WriteReferencedSelectorsPool(Sema & SemaRef) WriteReferencedSelectorsPool() argument
4472 WriteOpenCLExtensions(Sema & SemaRef) WriteOpenCLExtensions() argument
4490 WriteCUDAPragmas(Sema & SemaRef) WriteCUDAPragmas() argument
4549 WriteLateParsedTemplates(Sema & SemaRef) WriteLateParsedTemplates() argument
4572 WriteOptimizePragmaOptions(Sema & SemaRef) WriteOptimizePragmaOptions() argument
4580 WriteMSStructPragmaOptions(Sema & SemaRef) WriteMSStructPragmaOptions() argument
4588 WriteMSPointersToMembersPragmaOptions(Sema & SemaRef) WriteMSPointersToMembersPragmaOptions() argument
4596 WritePackPragmaOptions(Sema & SemaRef) WritePackPragmaOptions() argument
4616 WriteFloatControlPragmaOptions(Sema & SemaRef) WriteFloatControlPragmaOptions() argument
4635 WriteModuleFileExtension(Sema & SemaRef,ModuleFileExtensionWriter & Writer) WriteModuleFileExtension() argument
4859 WriteAST(Sema & SemaRef,StringRef OutputFile,Module * WritingModule,StringRef isysroot,bool ShouldCacheASTInMemory) WriteAST() argument
5005 PrepareWritingSpecialDecls(Sema & SemaRef) PrepareWritingSpecialDecls() argument
5180 WriteSpecialDeclRecords(Sema & SemaRef) WriteSpecialDeclRecords() argument
5345 WriteASTCore(Sema & SemaRef,StringRef isysroot,Module * WritingModule) WriteASTCore() argument
[all...]
/llvm-project/clang/unittests/Interpreter/
H A DInterpreterTest.cpp237 Sema &SemaRef = Interp.getCompilerInstance()->getSema(); in LookupSingleName() local

12