/freebsd-src/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiate.cpp | 590 if (SemaRef.Diags.hasFatalErrorOccurred() && in InstantiatingTemplate() argument 455 InstantiatingTemplate(Sema & SemaRef,CodeSynthesisContext::SynthesisKind Kind,SourceLocation PointOfInstantiation,SourceRange InstantiationRange,Decl * Entity,NamedDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo * DeductionInfo) InstantiatingTemplate() argument 490 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,Decl * Entity,SourceRange InstantiationRange) InstantiatingTemplate() argument 497 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,FunctionDecl * Entity,ExceptionSpecification,SourceRange InstantiationRange) InstantiatingTemplate() argument 504 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateParameter Param,TemplateDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument 514 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,FunctionTemplateDecl * FunctionTemplate,ArrayRef<TemplateArgument> TemplateArgs,CodeSynthesisContext::SynthesisKind Kind,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument 528 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument 539 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ClassTemplatePartialSpecializationDecl * PartialSpec,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument 550 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,VarTemplatePartialSpecializationDecl * PartialSpec,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument 561 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ParmVarDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument 570 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,NamedDecl * Template,NonTypeTemplateParmDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument 580 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,NamedDecl * Template,TemplateTemplateParmDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument 599 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,concepts::Requirement * Req,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument 609 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,concepts::NestedRequirement * Req,ConstraintsCheck,SourceRange InstantiationRange) InstantiatingTemplate() argument 618 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,const RequiresExpr * RE,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument 627 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintsCheck,NamedDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument 636 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintSubstitution,NamedDecl * Template,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument 645 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintNormalization,NamedDecl * Template,SourceRange InstantiationRange) InstantiatingTemplate() argument 653 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ParameterMappingSubstitution,NamedDecl * Template,SourceRange InstantiationRange) InstantiatingTemplate() argument 661 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Entity,BuildingDeductionGuidesTag,SourceRange InstantiationRange) InstantiatingTemplate() argument 1209 TemplateInstantiator(Sema & SemaRef,const MultiLevelTemplateArgumentList & TemplateArgs,SourceLocation Loc,DeclarationName Entity) TemplateInstantiator() argument [all...] |
H A D | SemaSYCL.cpp | 36 isZeroSizedArray(Sema & SemaRef,QualType Ty) isZeroSizedArray() argument
|
H A D | SemaExprMember.cpp | 32 isProvablyNotDerivedFrom(Sema & SemaRef,CXXRecordDecl * Record,const BaseSet & Bases) isProvablyNotDerivedFrom() argument 88 ClassifyImplicitMemberAccess(Sema & SemaRef,const LookupResult & R) ClassifyImplicitMemberAccess() argument 203 diagnoseInstanceReference(Sema & SemaRef,const CXXScopeSpec & SS,NamedDecl * Rep,const DeclarationNameInfo & nameInfo) diagnoseInstanceReference() argument 557 DiagnoseQualifiedMemberReference(Sema & SemaRef,Expr * BaseExpr,QualType BaseType,const CXXScopeSpec & SS,NamedDecl * rep,const DeclarationNameInfo & nameInfo) DiagnoseQualifiedMemberReference() argument 672 LookupMemberExprInRecord(Sema & SemaRef,LookupResult & R,Expr * BaseExpr,const RecordType * RTy,SourceLocation OpLoc,bool IsArrow,CXXScopeSpec & SS,bool HasTemplateArgs,SourceLocation TemplateKWLoc,TypoExpr * & TE) LookupMemberExprInRecord() argument 727 Sema &SemaRef; LookupMemberExprInRecord() member 751 __anon6ddefa3e0502(Sema &SemaRef, TypoExpr *TE, TypoCorrection TC) LookupMemberExprInRecord() argument [all...] |
H A D | SemaLookup.cpp | 96 Sema &SemaRef; global() member in __anon58ef0f810111::UnqualUsingDirectiveSet 104 UnqualUsingDirectiveSet(Sema & SemaRef) UnqualUsingDirectiveSet() argument 1787 isAcceptableSlow(Sema & SemaRef,NamedDecl * D,Sema::AcceptableKind Kind) isAcceptableSlow() argument 1914 isReachableSlow(Sema & SemaRef,NamedDecl * D) isReachableSlow() argument 2018 findAcceptableDecl(Sema & SemaRef,NamedDecl * D,unsigned IDNS) findAcceptableDecl() argument 2077 isVisible(Sema & SemaRef,NamedDecl * D) isVisible() argument 2087 isReachable(Sema & SemaRef,NamedDecl * D) isReachable() argument 2094 isAvailableForLookup(Sema & SemaRef,NamedDecl * ND) isAvailableForLookup() argument 4086 lookupVisibleDecls(Sema & SemaRef,Scope * S,Sema::LookupNameKind Kind,bool IncludeGlobalScope) lookupVisibleDecls() argument 4110 lookupVisibleDecls(Sema & SemaRef,DeclContext * Ctx,Sema::LookupNameKind Kind,bool IncludeGlobalScope) lookupVisibleDecls() argument 4483 checkCorrectionVisibility(Sema & SemaRef,TypoCorrection & TC) checkCorrectionVisibility() argument 4980 LookupPotentialTypoResult(Sema & SemaRef,LookupResult & Res,IdentifierInfo * Name,Scope * S,CXXScopeSpec * SS,DeclContext * MemberContext,bool EnteringContext,bool isObjCIvarLookup,bool FindHidden) LookupPotentialTypoResult() argument 5034 AddKeywordsToConsumer(Sema & SemaRef,TypoCorrectionConsumer & Consumer,Scope * S,CorrectionCandidateCallback & CCC,bool AfterNestedNameSpecifier) AddKeywordsToConsumer() argument 5582 FunctionCallFilterCCC(Sema & SemaRef,unsigned NumArgs,bool HasExplicitTemplateArgs,MemberExpr * ME) FunctionCallFilterCCC() argument [all...] |
H A D | CodeCompleteConsumer.cpp | 648 Sema &SemaRef, CodeCompletionContext Context, CodeCompletionResult *Results, in ProcessCodeCompleteResults() argument 756 Sema &SemaRef, unsigned CurrentArg, OverloadCandidate *Candidates, in ProcessOverloadCandidates() argument
|
H A D | SemaOpenMP.cpp | 240 Sema &SemaRef; global() member in __anon265630160111::DSAStackTy 1548 buildVarDecl(Sema & SemaRef,SourceLocation Loc,QualType Type,StringRef Name,const AttrVec * Attrs=nullptr,DeclRefExpr * OrigRef=nullptr) buildVarDecl() argument 1704 isConstNotMutableType(Sema & SemaRef,QualType Type,bool AcceptIfMutable=true,bool * IsClassType=nullptr) isConstNotMutableType() argument 1723 rejectConstNotMutableType(Sema & SemaRef,const ValueDecl * D,QualType Type,OpenMPClauseKind CKind,SourceLocation ELoc,bool AcceptIfMutable=true,bool ListItemNotVar=false) rejectConstNotMutableType() argument 3008 Sema &SemaRef; global() member in __anon265630161e11::VarDeclFilterCCC 3029 Sema &SemaRef; global() member in __anon265630161e11::VarOrFuncDeclFilterCCC 3190 Sema &SemaRef; global() member in __anon265630161f11::LocalVarRefChecker 3213 LocalVarRefChecker(Sema & SemaRef) LocalVarRefChecker() argument 3584 reportOriginalDsa(Sema & SemaRef,const DSAStackTy * Stack,const ValueDecl * D,const DSAStackTy::DSAVarData & DVar,bool IsLoopIterVar) reportOriginalDsa() argument 3688 Sema &SemaRef; global() member in __anon265630162111::DSAAttrChecker 4168 DSAAttrChecker(DSAStackTy * S,Sema & SemaRef,CapturedStmt * CS) DSAAttrChecker() argument 4980 checkCancelRegion(Sema & SemaRef,OpenMPDirectiveKind CurrentRegion,OpenMPDirectiveKind CancelRegion,SourceLocation StartLoc) checkCancelRegion() argument 4996 checkNestingOfRegions(Sema & SemaRef,const DSAStackTy * Stack,OpenMPDirectiveKind CurrentRegion,const DeclarationNameInfo & CurrentName,OpenMPDirectiveKind CancelRegion,OpenMPBindClauseKind BindKind,SourceLocation StartLoc) checkNestingOfRegions() argument 7960 Sema &SemaRef; global() member in __anon265630163a11::OpenMPIterationSpaceChecker 8012 OpenMPIterationSpaceChecker(Sema & SemaRef,bool SupportsNonRectangular,DSAStackTy & Stack,SourceLocation DefaultLoc) OpenMPIterationSpaceChecker() argument 8211 Sema &SemaRef; global() member in __anon265630163a11::__anon265630163b11::LoopCounterRefChecker 8286 LoopCounterRefChecker(Sema & SemaRef,DSAStackTy & Stack,const ValueDecl * CurLCDecl,bool IsInitializer,const ValueDecl * PrevDepDecl=nullptr,bool SupportsNonRectangular=true) LoopCounterRefChecker() argument 8594 tryBuildCapture(Sema & SemaRef,Expr * Capture,llvm::MapVector<const Expr *,DeclRefExpr * > & Captures,StringRef Name=".capture_expr.") tryBuildCapture() argument 8615 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 9351 checkOpenMPIterationSpace(OpenMPDirectiveKind DKind,Stmt * S,Sema & SemaRef,DSAStackTy & DSA,unsigned CurrentNestedLoopCount,unsigned NestedLoopCount,unsigned TotalNestedLoopCount,Expr * CollapseLoopCountExpr,Expr * OrderedLoopCountExpr,Sema::VarsWithInheritedDSAType & VarsWithImplicitDSA,llvm::MutableArrayRef<LoopIterationSpace> ResultIterSpaces,llvm::MapVector<const Expr *,DeclRefExpr * > & Captures) checkOpenMPIterationSpace() argument 9568 buildCounterInit(Sema & SemaRef,Scope * S,SourceLocation Loc,ExprResult VarRef,ExprResult Start,bool IsNonRectangularLB,llvm::MapVector<const Expr *,DeclRefExpr * > & Captures) buildCounterInit() argument 9593 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 9668 widenIterationCount(unsigned Bits,Expr * E,Sema & SemaRef) widenIterationCount() argument 9684 fitsInto(unsigned Bits,bool Signed,const Expr * E,Sema & SemaRef) fitsInto() argument 9742 checkOpenMPLoop(OpenMPDirectiveKind DKind,Expr * CollapseLoopCountExpr,Expr * OrderedLoopCountExpr,Stmt * AStmt,Sema & SemaRef,DSAStackTy & DSA,Sema::VarsWithInheritedDSAType & VarsWithImplicitDSA,OMPLoopBasedDirective::HelperExprs & Built) checkOpenMPLoop() argument 11641 Sema &SemaRef; global() member in __anon265630164111::OpenMPAtomicUpdateChecker 11662 OpenMPAtomicUpdateChecker(Sema & SemaRef) OpenMPAtomicUpdateChecker() argument 16654 isNonNegativeIntegerValue(Expr * & ValExpr,Sema & SemaRef,OpenMPClauseKind CKind,bool StrictlyPositive,bool BuildCapture=false,OpenMPDirectiveKind DKind=OMPD_unknown,OpenMPDirectiveKind * CaptureRegion=nullptr,Stmt ** HelperValStmt=nullptr) isNonNegativeIntegerValue() argument 17892 isValidInteropVariable(Sema & SemaRef,Expr * InteropVarExpr,SourceLocation VarLoc,OpenMPClauseKind Kind) isValidInteropVariable() argument 19015 TransformExprToCaptures(Sema & SemaRef,ValueDecl * FieldDecl) TransformExprToCaptures() argument 19042 findAcceptableDecl(Sema & SemaRef,NamedDecl * D) findAcceptableDecl() argument 19059 argumentDependentLookup(Sema & SemaRef,const DeclarationNameInfo & Id,SourceLocation Loc,QualType Ty,SmallVectorImpl<UnresolvedSet<8>> & Lookups) argumentDependentLookup() argument 19117 buildDeclareReductionRef(Sema & SemaRef,SourceLocation Loc,SourceRange Range,Scope * S,CXXScopeSpec & ReductionIdScopeSpec,const DeclarationNameInfo & ReductionId,QualType Ty,CXXCastPath & BasePath,Expr * UnresolvedReduction) buildDeclareReductionRef() argument 20418 FinishOpenMPLinearClause(OMPLinearClause & Clause,DeclRefExpr * IV,Expr * NumIterations,Sema & SemaRef,Scope * S,DSAStackTy * Stack) FinishOpenMPLinearClause() argument 20867 ProcessOpenMPDoacrossClauseCommon(Sema & SemaRef,bool IsSource,ArrayRef<Expr * > VarList,DSAStackTy * Stack,SourceLocation EndLoc) ProcessOpenMPDoacrossClauseCommon() argument 21227 checkTypeMappable(SourceLocation SL,SourceRange SR,Sema & SemaRef,DSAStackTy * Stack,QualType QTy,bool FullCheck=true) checkTypeMappable() argument 21241 checkArrayExpressionDoesNotReferToWholeSize(Sema & SemaRef,const Expr * E,QualType BaseQTy) checkArrayExpressionDoesNotReferToWholeSize() argument 21299 checkArrayExpressionDoesNotReferToUnitySize(Sema & SemaRef,const Expr * E,QualType BaseQTy) checkArrayExpressionDoesNotReferToUnitySize() argument 21369 Sema &SemaRef; global() member in __anon265630166111::MapBaseChecker 21669 MapBaseChecker(Sema & SemaRef,OpenMPClauseKind CKind,OpenMPDirectiveKind DKind,OMPClauseMappableExprCommon::MappableExprComponentList & Components,bool NoDiagnose,SourceLocation & ELoc,SourceRange & ERange) MapBaseChecker() argument 21682 checkMapClauseExpressionBase(Sema & SemaRef,Expr * E,OMPClauseMappableExprCommon::MappableExprComponentList & CurComponents,OpenMPClauseKind CKind,OpenMPDirectiveKind DKind,bool NoDiagnose) checkMapClauseExpressionBase() argument 21714 checkMapConflicts(Sema & SemaRef,DSAStackTy * DSAS,const ValueDecl * VD,const Expr * E,bool CurrentRegionOnly,OMPClauseMappableExprCommon::MappableExprComponentListRef CurComponents,OpenMPClauseKind CKind) checkMapConflicts() argument 21961 buildUserDefinedMapperRef(Sema & SemaRef,Scope * S,CXXScopeSpec & MapperIdScopeSpec,const DeclarationNameInfo & MapperId,QualType Type,Expr * UnresolvedMapper) buildUserDefinedMapperRef() argument 22102 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 23376 checkDeclInTargetContext(SourceLocation SL,SourceRange SR,Sema & SemaRef,Decl * D) checkDeclInTargetContext() argument 23407 checkValueDeclInTarget(SourceLocation SL,SourceRange SR,Sema & SemaRef,DSAStackTy * Stack,ValueDecl * VD) checkValueDeclInTarget() argument [all...] |
H A D | SemaConcept.cpp | 69 recreateBinOp(Sema & SemaRef,ExprResult LHS) const recreateBinOp() argument 73 recreateBinOp(Sema & SemaRef,ExprResult LHS,ExprResult RHS) const recreateBinOp() argument 163 Sema &SemaRef; global() member 755 AdjustConstraintDepth(Sema & SemaRef,unsigned TemplateDepth) AdjustConstraintDepth() argument [all...] |
H A D | SemaStmt.cpp | 874 Sema &SemaRef; global() member in __anona8c5d3ef0a11::CommaVisitor 876 CommaVisitor(Sema & SemaRef) CommaVisitor() argument 2378 FinishForRangeVarDecl(Sema & SemaRef,VarDecl * Decl,Expr * Init,SourceLocation Loc,int DiagID) FinishForRangeVarDecl() argument 2433 NoteForRangeBeginEndFunction(Sema & SemaRef,Expr * E,BeginEndFunction BEF) NoteForRangeBeginEndFunction() argument 2456 BuildForRangeVarDecl(Sema & SemaRef,SourceLocation Loc,QualType Type,StringRef Name) BuildForRangeVarDecl() argument 2579 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 2713 RebuildForRangeWithDereference(Sema & SemaRef,Scope * S,SourceLocation ForLoc,SourceLocation CoawaitLoc,Stmt * InitStmt,Stmt * LoopVarDecl,SourceLocation ColonLoc,Expr * Range,SourceLocation RangeLoc,SourceLocation RParenLoc) RebuildForRangeWithDereference() argument 3097 DiagnoseForRangeReferenceVariableCopies(Sema & SemaRef,const VarDecl * VD,QualType RangeInitType) DiagnoseForRangeReferenceVariableCopies() argument 3186 DiagnoseForRangeConstVariableCopies(Sema & SemaRef,const VarDecl * VD) DiagnoseForRangeConstVariableCopies() argument 3231 DiagnoseForRangeVariableCopies(Sema & SemaRef,const CXXForRangeStmt * ForStmt) DiagnoseForRangeVariableCopies() argument [all...] |
H A D | SemaAvailability.cpp | 690 Sema &SemaRef; global() member in __anone7b43a220411::DiagnoseUnguardedAvailability 701 DiagnoseUnguardedAvailability(Sema & SemaRef,Decl * Ctx) DiagnoseUnguardedAvailability() argument [all...] |
H A D | SemaDeclCXX.cpp | 1696 static bool CheckConstexprDestructorSubobjects(Sema &SemaRef, in CheckLiteralType() argument 1715 CheckConstexprDestructorSubobjects(Sema & SemaRef,const CXXDestructorDecl * DD,Sema::CheckConstexprKind Kind) CheckConstexprDestructorSubobjects() argument 1746 CheckConstexprParameterTypes(Sema & SemaRef,const FunctionDecl * FD,Sema::CheckConstexprKind Kind) CheckConstexprParameterTypes() argument 1768 CheckConstexprReturnType(Sema & SemaRef,const FunctionDecl * FD,Sema::CheckConstexprKind Kind) CheckConstexprReturnType() argument 1891 CheckConstexprDeclStmt(Sema & SemaRef,const FunctionDecl * Dcl,DeclStmt * DS,SourceLocation & Cxx1yLoc,Sema::CheckConstexprKind Kind) CheckConstexprDeclStmt() argument 2044 CheckConstexprCtorInitializer(Sema & SemaRef,const FunctionDecl * Dcl,FieldDecl * Field,llvm::SmallSet<Decl *,16> & Inits,bool & Diagnosed,Sema::CheckConstexprKind Kind) CheckConstexprCtorInitializer() argument 2100 CheckConstexprFunctionStmt(Sema & SemaRef,const FunctionDecl * Dcl,Stmt * S,SmallVectorImpl<SourceLocation> & ReturnStmts,SourceLocation & Cxx1yLoc,SourceLocation & Cxx2aLoc,SourceLocation & Cxx2bLoc,Sema::CheckConstexprKind Kind) CheckConstexprFunctionStmt() argument 2262 CheckConstexprFunctionBody(Sema & SemaRef,const FunctionDecl * Dcl,Stmt * Body,Sema::CheckConstexprKind Kind) CheckConstexprFunctionBody() argument 2502 Sema &SemaRef; DiagnoseImmediateEscalatingReason() member 4104 DiagnoseUninitializedFields(Sema & SemaRef,const CXXConstructorDecl * Constructor) DiagnoseUninitializedFields() argument 4273 FindBaseInitializer(Sema & SemaRef,CXXRecordDecl * ClassDecl,QualType BaseType,const CXXBaseSpecifier * & DirectBaseSpec,const CXXBaseSpecifier * & VirtualBaseSpec) FindBaseInitializer() argument 4906 CastForMoving(Sema & SemaRef,Expr * E) CastForMoving() argument 4929 BuildImplicitBaseInitializer(Sema & SemaRef,CXXConstructorDecl * Constructor,ImplicitInitializerKind ImplicitInitKind,CXXBaseSpecifier * BaseSpec,bool IsInheritedVirtualBase,CXXCtorInitializer * & CXXBaseInit) BuildImplicitBaseInitializer() argument 5012 BuildImplicitMemberInitializer(Sema & SemaRef,CXXConstructorDecl * Constructor,ImplicitInitializerKind ImplicitInitKind,FieldDecl * Field,IndirectFieldDecl * Indirect,CXXCtorInitializer * & CXXMemberInit) BuildImplicitMemberInitializer() argument 5276 CollectFieldInitializer(Sema & SemaRef,BaseAndFieldInfo & Info,FieldDecl * Field,IndirectFieldDecl * Indirect=nullptr) CollectFieldInitializer() argument 5581 DiagnoseBaseOrMemInitializerOrder(Sema & SemaRef,const CXXConstructorDecl * Constructor,ArrayRef<CXXCtorInitializer * > Inits) DiagnoseBaseOrMemInitializerOrder() argument 16226 CheckOperatorNewDeleteDeclarationScope(Sema & SemaRef,const FunctionDecl * FnDecl) CheckOperatorNewDeleteDeclarationScope() argument 16245 RemoveAddressSpaceFromPtr(Sema & SemaRef,const PointerType * PtrTy) RemoveAddressSpaceFromPtr() argument 16255 CheckOperatorNewDeleteTypes(Sema & SemaRef,const FunctionDecl * FnDecl,CanQualType ExpectedResultType,CanQualType ExpectedFirstParamType,unsigned DependentParamTypeDiag,unsigned InvalidParamTypeDiag) CheckOperatorNewDeleteTypes() argument 16326 CheckOperatorNewDeclaration(Sema & SemaRef,const FunctionDecl * FnDecl) CheckOperatorNewDeclaration() argument 16357 CheckOperatorDeleteDeclaration(Sema & SemaRef,FunctionDecl * FnDecl) CheckOperatorDeleteDeclaration() argument 16571 checkLiteralOperatorTemplateParameterList(Sema & SemaRef,FunctionTemplateDecl * TpDecl) checkLiteralOperatorTemplateParameterList() argument [all...] |
H A D | SemaStmtAttr.cpp | 224 CheckStmtInlineAttr(Sema & SemaRef,const Stmt * OrigSt,const Stmt * CurSt,const AttributeCommonInfo & A) CheckStmtInlineAttr() argument
|
H A D | SemaTemplate.cpp | 925 Arg.getScopeSpec().getWithLocInContext(SemaRef.Context), in translateTemplateArgument() argument 968 maybeDiagnoseTemplateParameterShadow(Sema & SemaRef,Scope * S,SourceLocation Loc,IdentifierInfo * Name) maybeDiagnoseTemplateParameterShadow() argument 1740 ConstraintRefersToContainingTemplateChecker(Sema & SemaRef,const FunctionDecl * Friend,unsigned TemplateDepth) ConstraintRefersToContainingTemplateChecker() argument 2239 ExtractTypeForDeductionGuide(Sema & SemaRef,llvm::SmallVectorImpl<TypedefNameDecl * > & MaterializedTypedefs) ExtractTypeForDeductionGuide() argument 2297 Sema &SemaRef; global() member 3763 checkBuiltinTemplateIdType(Sema & SemaRef,BuiltinTemplateDecl * BTD,ArrayRef<TemplateArgument> Converted,SourceLocation TemplateLoc,TemplateArgumentListInfo & TemplateArgs) checkBuiltinTemplateIdType() argument 5454 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,TemplateTypeParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted) SubstDefaultTemplateArgument() argument 5511 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,NonTypeTemplateParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted) SubstDefaultTemplateArgument() argument 5559 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,TemplateTemplateParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted,NestedNameSpecifierLoc & QualifierLoc) SubstDefaultTemplateArgument() argument 11421 CurrentInstantiationRebuilder(Sema & SemaRef,SourceLocation Loc,DeclarationName Entity) CurrentInstantiationRebuilder() argument [all...] |
H A D | SemaOverload.cpp | 1240 IsOverloadOrOverrideImpl(Sema & SemaRef,FunctionDecl * New,FunctionDecl * Old,bool UseMemberUsingDeclRules,bool ConsiderCudaAttrs,bool UseOverrideRules=false) IsOverloadOrOverrideImpl() argument 6368 diagnoseAmbiguousConversion(Sema & SemaRef,SourceLocation Loc,Expr * From,Sema::ContextualImplicitConverter & Converter,QualType T,UnresolvedSetImpl & ViableConversions) diagnoseAmbiguousConversion() argument 6386 diagnoseNoViableConversion(Sema & SemaRef,SourceLocation Loc,Expr * & From,Sema::ContextualImplicitConverter & Converter,QualType T,bool HadMultipleCandidates,UnresolvedSetImpl & ExplicitConversions) diagnoseNoViableConversion() argument 6427 recordConversion(Sema & SemaRef,SourceLocation Loc,Expr * & From,Sema::ContextualImplicitConverter & Converter,QualType T,bool HadMultipleCandidates,DeclAccessPair & Found) recordConversion() argument 6457 finishContextualImplicitConversion(Sema & SemaRef,SourceLocation Loc,Expr * From,Sema::ContextualImplicitConverter & Converter) finishContextualImplicitConversion() argument 6467 collectViableConversionCandidates(Sema & SemaRef,Expr * From,QualType ToType,UnresolvedSetImpl & ViableConversions,OverloadCandidateSet & CandidateSet) collectViableConversionCandidates() argument 8397 Sema &SemaRef; global() member in __anon6beb8ae31111::BuiltinCandidateTypeSet 8410 BuiltinCandidateTypeSet(Sema & SemaRef) BuiltinCandidateTypeSet() argument 13546 DiagnoseTwoPhaseLookup(Sema & SemaRef,SourceLocation FnLoc,const CXXScopeSpec & SS,LookupResult & R,OverloadCandidateSet::CandidateSetKind CSK,TemplateArgumentListInfo * ExplicitTemplateArgs,ArrayRef<Expr * > Args,CXXRecordDecl ** FoundInClass=nullptr) DiagnoseTwoPhaseLookup() argument 13654 DiagnoseTwoPhaseOperatorLookup(Sema & SemaRef,OverloadedOperatorKind Op,SourceLocation OpLoc,ArrayRef<Expr * > Args) DiagnoseTwoPhaseOperatorLookup() argument 13667 Sema &SemaRef; global() member in __anon6beb8ae32811::BuildRecoveryCallExprRAII 13688 BuildRecoveryCallExpr(Sema & SemaRef,Scope * S,Expr * Fn,UnresolvedLookupExpr * ULE,SourceLocation LParenLoc,MutableArrayRef<Expr * > Args,SourceLocation RParenLoc,bool EmptyLookup,bool AllowTypoCorrection) BuildRecoveryCallExpr() argument 13893 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 D | SemaCodeComplete.cpp | 158 Sema &SemaRef; global() member in __anon980f77db0111::ResultBuilder 213 ResultBuilder(Sema & SemaRef,CodeCompletionAllocator & Allocator,CodeCompletionTUInfo & CCTUInfo,const CodeCompletionContext & CompletionContext,LookupFilter Filter=nullptr) ResultBuilder() argument 766 shouldIgnoreDueToReservedName(const NamedDecl * ND,Sema & SemaRef) shouldIgnoreDueToReservedName() argument 2129 AddOrdinaryNameResults(Sema::ParserCompletionContext CCC,Scope * S,Sema & SemaRef,ResultBuilder & Results) AddOrdinaryNameResults() argument 5166 AddRecordMembersCompletionResults(Sema & SemaRef,ResultBuilder & Results,Scope * S,QualType BaseType,ExprValueKind BaseKind,RecordDecl * RD,std::optional<FixItHint> AccessOpFixIt) AddRecordMembersCompletionResults() argument 6065 mergeCandidatesWithResults(Sema & SemaRef,SmallVectorImpl<ResultCandidate> & Results,OverloadCandidateSet & CandidateSet,SourceLocation Loc,size_t ArgSize) mergeCandidatesWithResults() argument 6097 getParamType(Sema & SemaRef,ArrayRef<ResultCandidate> Candidates,unsigned N) getParamType() argument 6123 ProduceSignatureHelp(Sema & SemaRef,MutableArrayRef<ResultCandidate> Candidates,unsigned CurrentArg,SourceLocation OpenParLoc,bool Braced) ProduceSignatureHelp() argument 8115 AddClassMessageCompletions(Sema & SemaRef,Scope * S,ParsedType Receiver,ArrayRef<IdentifierInfo * > SelIdents,bool AtArgumentExpression,bool IsSuper,ResultBuilder & Results) AddClassMessageCompletions() argument [all...] |
H A D | SemaLambda.cpp | 231 getGenericLambdaTemplateParameterList(LambdaScopeInfo * LSI,Sema & SemaRef) getGenericLambdaTemplateParameterList() argument 2319 LambdaScopeForCallOperatorInstantiationRAII(Sema & SemaRef,FunctionDecl * FD,MultiLevelTemplateArgumentList MLTAL,LocalInstantiationScope & Scope,bool ShouldAddDeclsFromParentScope) LambdaScopeForCallOperatorInstantiationRAII() argument
|
H A D | SemaExpr.cpp | 2367 SemaRef.PDiag(NoteID)); in emitEmptyLookupTypoDiagnostic() argument 6464 FunctionCallCCC(Sema & SemaRef,const IdentifierInfo * FuncName,unsigned NumArgs,MemberExpr * ME) FunctionCallCCC() argument 18133 TransformToPE(Sema & SemaRef) TransformToPE() argument 18394 EvaluateAndDiagnoseImmediateInvocation(Sema & SemaRef,Sema::ImmediateInvocationCandidate Candidate) EvaluateAndDiagnoseImmediateInvocation() argument 18436 RemoveNestedImmediateInvocation(Sema & SemaRef,Sema::ExpressionEvaluationContextRecord & Rec,SmallVector<Sema::ImmediateInvocationCandidate,4>::reverse_iterator It) RemoveNestedImmediateInvocation() argument 18532 HandleImmediateInvocations(Sema & SemaRef,Sema::ExpressionEvaluationContextRecord & Rec) HandleImmediateInvocations() argument 18709 isPotentiallyConstantEvaluatedContext(Sema & SemaRef) isPotentiallyConstantEvaluatedContext() argument 18828 isOdrUseContext(Sema & SemaRef) isOdrUseContext() argument 19143 MarkVarDeclODRUsed(ValueDecl * V,SourceLocation Loc,Sema & SemaRef,const unsigned * const FunctionScopeIndexToStopAt=nullptr) MarkVarDeclODRUsed() argument 20433 DoMarkPotentialCapture(Sema & SemaRef,SourceLocation Loc,ValueDecl * Var,Expr * E) DoMarkPotentialCapture() argument 20466 DoMarkVarDeclReferenced(Sema & SemaRef,SourceLocation Loc,VarDecl * Var,Expr * E,llvm::DenseMap<const VarDecl *,int> & RefsMinusAssignments) DoMarkVarDeclReferenced() argument 20636 DoMarkBindingDeclReferenced(Sema & SemaRef,SourceLocation Loc,BindingDecl * BD,Expr * E) DoMarkBindingDeclReferenced() argument 20669 FixDependencyOfIdExpressionsInLambdaWithDependentObjectParameter(Sema & SemaRef,ValueDecl * D,Expr * E) FixDependencyOfIdExpressionsInLambdaWithDependentObjectParameter() argument 20692 MarkExprReferenced(Sema & SemaRef,SourceLocation Loc,Decl * D,Expr * E,bool MightBeOdrUse,llvm::DenseMap<const VarDecl *,int> & RefsMinusAssignments) MarkExprReferenced() argument [all...] |
/freebsd-src/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 429 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef() argument 561 Sema &SemaRef; global() variable 586 TemplateDeclInstantiator(Sema & SemaRef,DeclContext * Owner,const MultiLevelTemplateArgumentList & TemplateArgs) TemplateDeclInstantiator() argument [all...] |
H A D | SemaInternal.h | 91 TypoCorrectionConsumer(Sema & SemaRef,const DeclarationNameInfo & TypoName,Sema::LookupNameKind LookupKind,Scope * S,CXXScopeSpec * SS,std::unique_ptr<CorrectionCandidateCallback> CCC,DeclContext * MemberContext,bool EnteringContext) TypoCorrectionConsumer() argument 309 Sema &SemaRef; global() variable
|
H A D | Lookup.h | 373 isAcceptable(Sema & SemaRef,NamedDecl * D,Sema::AcceptableKind Kind) isAcceptable() argument [all...] |
H A D | Sema.h | 1732 Sema &SemaRef; global() variable 1736 ImmediateDiagBuilder(DiagnosticBuilder & DB,Sema & SemaRef,unsigned DiagID) ImmediateDiagBuilder() argument 1738 ImmediateDiagBuilder(DiagnosticBuilder && DB,Sema & SemaRef,unsigned DiagID) ImmediateDiagBuilder() argument 7495 Sema &SemaRef; global() variable 10033 Sema &SemaRef; global() variable 10041 SemaRef(SemaRef) SemaRef() argument 10073 Sema &SemaRef; global() variable 10078 TentativeAnalysisScope(Sema & SemaRef) TentativeAnalysisScope() argument [all...] |
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
H A D | TestModuleFileExtension.cpp | 23 Sema &SemaRef, in writeExtensionContents()
|
/freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | Internals.h | 151 Sema &SemaRef; variable
|
/freebsd-src/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 3397 WriteSelectors(Sema & SemaRef) WriteSelectors() argument 3503 WriteReferencedSelectorsPool(Sema & SemaRef) WriteReferencedSelectorsPool() argument 4247 WriteOpenCLExtensions(Sema & SemaRef) WriteOpenCLExtensions() argument 4265 WriteCUDAPragmas(Sema & SemaRef) WriteCUDAPragmas() argument 4324 WriteLateParsedTemplates(Sema & SemaRef) WriteLateParsedTemplates() argument 4347 WriteOptimizePragmaOptions(Sema & SemaRef) WriteOptimizePragmaOptions() argument 4355 WriteMSStructPragmaOptions(Sema & SemaRef) WriteMSStructPragmaOptions() argument 4363 WriteMSPointersToMembersPragmaOptions(Sema & SemaRef) WriteMSPointersToMembersPragmaOptions() argument 4371 WritePackPragmaOptions(Sema & SemaRef) WritePackPragmaOptions() argument 4391 WriteFloatControlPragmaOptions(Sema & SemaRef) WriteFloatControlPragmaOptions() argument 4410 WriteModuleFileExtension(Sema & SemaRef,ModuleFileExtensionWriter & Writer) WriteModuleFileExtension() argument 4625 WriteAST(Sema & SemaRef,StringRef OutputFile,Module * WritingModule,StringRef isysroot,bool ShouldCacheASTInMemory) WriteAST() argument 4732 WriteASTCore(Sema & SemaRef,StringRef isysroot,Module * WritingModule) WriteASTCore() argument [all...] |
/freebsd-src/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | Interpreter.cpp | 553 RuntimeInterfaceBuilder(clang::Interpreter & In,ASTContext & C,Sema & SemaRef,Expr * VE,ArrayRef<Expr * > FixedArgs) RuntimeInterfaceBuilder() argument
|
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangExpressionParser.cpp | 936 ProcessCodeCompleteResults(Sema & SemaRef,CodeCompletionContext Context,CodeCompletionResult * Results,unsigned NumResults) ProcessCodeCompleteResults() argument
|