• Home
  • Raw
  • Download

Lines Matching refs:Sema

62   Sema &S;
66 CheckDefaultArgumentVisitor(Sema &S, const Expr *DefaultArg) in CheckDefaultArgumentVisitor()
160 Sema::ImplicitExceptionSpecification::CalledDecl(SourceLocation CallLoc, in CalledDecl()
228 void Sema::ImplicitExceptionSpecification::CalledStmt(Stmt *S) { in CalledStmt()
257 ExprResult Sema::ConvertParamDefaultArgument(const ParmVarDecl *Param, in ConvertParamDefaultArgument()
286 void Sema::SetParamDefaultArgument(ParmVarDecl *Param, Expr *Arg, in SetParamDefaultArgument()
308 Sema::ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, in ActOnParamDefaultArgument()
363 void Sema::ActOnParamUnparsedDefaultArgument(Decl *param, in ActOnParamUnparsedDefaultArgument()
376 void Sema::ActOnParamDefaultArgumentError(Decl *param, in ActOnParamDefaultArgumentError()
395 void Sema::CheckExtraCXXDefaultArguments(Declarator &D) { in CheckExtraCXXDefaultArguments()
450 bool Sema::MergeCXXFunctionDecl(FunctionDecl *New, FunctionDecl *Old, in MergeCXXFunctionDecl()
713 Sema::ActOnDecompositionDeclarator(Scope *S, Declarator &D, in ActOnDecompositionDeclarator()
900 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, in checkSimpleDecomposition()
925 static bool checkArrayLikeDecomposition(Sema &S, in checkArrayLikeDecomposition()
940 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkArrayDecomposition()
948 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkVectorDecomposition()
957 static bool checkComplexDecomposition(Sema &S, in checkComplexDecomposition()
984 static bool lookupStdTypeTraitMember(Sema &S, LookupResult &TraitMemberLookup, in lookupStdTypeTraitMember()
1006 Loc, Sema::LookupOrdinaryName); in lookupStdTypeTraitMember()
1042 getTrivialIntegralTemplateArgument(Sema &S, SourceLocation Loc, QualType T, in getTrivialIntegralTemplateArgument()
1049 getTrivialTypeTemplateArgument(Sema &S, SourceLocation Loc, QualType T) { in getTrivialTypeTemplateArgument()
1055 static IsTupleLike isTupleLike(Sema &S, SourceLocation Loc, QualType T, in isTupleLike()
1058 S, Sema::ExpressionEvaluationContext::ConstantEvaluated); in isTupleLike()
1061 LookupResult R(S, Value, Loc, Sema::LookupOrdinaryName); in isTupleLike()
1076 struct ICEDiagnoser : Sema::VerifyICEDiagnoser { in isTupleLike()
1081 Sema::SemaDiagnosticBuilder diagnoseNotICE(Sema &S, in isTupleLike()
1101 static QualType getTupleLikeElementType(Sema &S, SourceLocation Loc, in getTupleLikeElementType()
1110 LookupResult R(S, TypeDN, Loc, Sema::LookupOrdinaryName); in getTupleLikeElementType()
1131 Sema &S;
1132 InitializingBinding(Sema &S, BindingDecl *BD) : S(S) { in InitializingBinding()
1133 Sema::CodeSynthesisContext Ctx; in InitializingBinding()
1134 Ctx.Kind = Sema::CodeSynthesisContext::InitializingStructuredBinding; in InitializingBinding()
1145 static bool checkTupleLikeDecomposition(Sema &S, in checkTupleLikeDecomposition()
1164 LookupResult MemberGet(S, GetDN, Src->getLocation(), Sema::LookupMemberName); in checkTupleLikeDecomposition()
1283 static DeclAccessPair findDecomposableBaseClass(Sema &S, SourceLocation Loc, in findDecomposableBaseClass()
1354 static bool checkMemberDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkMemberDecomposition()
1455 void Sema::CheckCompleteDecompositionDeclaration(DecompositionDecl *DD) { in CheckCompleteDecompositionDeclaration()
1529 void Sema::MergeVarDeclExceptionSpecs(VarDecl *New, VarDecl *Old) { in MergeVarDeclExceptionSpecs()
1569 void Sema::CheckCXXDefaultArguments(FunctionDecl *FD) { in CheckCXXDefaultArguments()
1616 static bool CheckLiteralType(Sema &SemaRef, Sema::CheckConstexprKind Kind, in CheckLiteralType()
1623 case Sema::CheckConstexprKind::Diagnose: in CheckLiteralType()
1627 case Sema::CheckConstexprKind::CheckValid: in CheckLiteralType()
1635 static bool CheckConstexprDestructorSubobjects(Sema &SemaRef, in CheckConstexprDestructorSubobjects()
1637 Sema::CheckConstexprKind Kind) { in CheckConstexprDestructorSubobjects()
1644 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDestructorSubobjects()
1666 static bool CheckConstexprParameterTypes(Sema &SemaRef, in CheckConstexprParameterTypes()
1668 Sema::CheckConstexprKind Kind) { in CheckConstexprParameterTypes()
1687 static bool CheckConstexprReturnType(Sema &SemaRef, const FunctionDecl *FD, in CheckConstexprReturnType()
1688 Sema::CheckConstexprKind Kind) { in CheckConstexprReturnType()
1710 static bool CheckConstexprFunctionBody(Sema &SemaRef, const FunctionDecl *Dcl,
1712 Sema::CheckConstexprKind Kind);
1720 bool Sema::CheckConstexprFunctionDefinition(const FunctionDecl *NewFD, in CheckConstexprFunctionDefinition()
1807 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, in CheckConstexprDeclStmt()
1809 Sema::CheckConstexprKind Kind) { in CheckConstexprDeclStmt()
1833 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1848 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1876 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1890 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1903 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1924 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1948 static bool CheckConstexprCtorInitializer(Sema &SemaRef, in CheckConstexprCtorInitializer()
1953 Sema::CheckConstexprKind Kind) { in CheckConstexprCtorInitializer()
1955 if (Kind == Sema::CheckConstexprKind::CheckValid && in CheckConstexprCtorInitializer()
1975 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprCtorInitializer()
2004 CheckConstexprFunctionStmt(Sema &SemaRef, const FunctionDecl *Dcl, Stmt *S, in CheckConstexprFunctionStmt()
2007 Sema::CheckConstexprKind Kind) { in CheckConstexprFunctionStmt()
2137 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprFunctionStmt()
2149 static bool CheckConstexprFunctionBody(Sema &SemaRef, const FunctionDecl *Dcl, in CheckConstexprFunctionBody()
2151 Sema::CheckConstexprKind Kind) { in CheckConstexprFunctionBody()
2168 case Sema::CheckConstexprKind::CheckValid: in CheckConstexprFunctionBody()
2173 case Sema::CheckConstexprKind::Diagnose: in CheckConstexprFunctionBody()
2196 if (Kind == Sema::CheckConstexprKind::CheckValid) { in CheckConstexprFunctionBody()
2228 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprFunctionBody()
2287 case Sema::CheckConstexprKind::Diagnose: in CheckConstexprFunctionBody()
2296 case Sema::CheckConstexprKind::CheckValid: in CheckConstexprFunctionBody()
2306 case Sema::CheckConstexprKind::Diagnose: in CheckConstexprFunctionBody()
2317 case Sema::CheckConstexprKind::CheckValid: in CheckConstexprFunctionBody()
2339 if (Kind == Sema::CheckConstexprKind::Diagnose && in CheckConstexprFunctionBody()
2361 CXXRecordDecl *Sema::getCurrentClass(Scope *, const CXXScopeSpec *SS) { in getCurrentClass()
2379 bool Sema::isCurrentClassName(const IdentifierInfo &II, Scope *S, in isCurrentClassName()
2388 bool Sema::isCurrentClassNameTypo(IdentifierInfo *&II, const CXXScopeSpec *SS) { in isCurrentClassNameTypo()
2448 Sema::CheckBaseSpecifier(CXXRecordDecl *Class, in CheckBaseSpecifier()
2592 Sema::ActOnBaseSpecifier(Decl *classdecl, SourceRange SpecifierRange, in ActOnBaseSpecifier()
2664 bool Sema::AttachBaseSpecifiers(CXXRecordDecl *Class, in AttachBaseSpecifiers()
2770 void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, in ActOnBaseSpecifiers()
2781 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom()
2808 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom()
2846 void Sema::BuildBasePathArray(const CXXBasePaths &Paths, in BuildBasePathArray()
2865 Sema::CheckDerivedToBaseConversion(QualType Derived, QualType Base, in CheckDerivedToBaseConversion()
2947 Sema::CheckDerivedToBaseConversion(QualType Derived, QualType Base, in CheckDerivedToBaseConversion()
2970 std::string Sema::getAmbiguousPathsDisplayString(CXXBasePaths &Paths) { in getAmbiguousPathsDisplayString()
2994 bool Sema::ActOnAccessSpecifier(AccessSpecifier Access, SourceLocation ASLoc, in ActOnAccessSpecifier()
3005 void Sema::CheckOverrideControl(NamedDecl *D) { in CheckOverrideControl()
3073 void Sema::DiagnoseAbsenceOfOverrideControl(NamedDecl *D, bool Inconsistent) { in DiagnoseAbsenceOfOverrideControl()
3111 bool Sema::CheckIfOverriddenFunctionIsMarkedFinal(const CXXMethodDecl *New, in CheckIfOverriddenFunctionIsMarkedFinal()
3145 void Sema::CheckShadowInheritedFields(const SourceLocation &Loc, in CheckShadowInheritedFields()
3201 Sema::ActOnCXXMemberDeclarator(Scope *S, AccessSpecifier AS, Declarator &D, in ActOnCXXMemberDeclarator()
3509 Sema &S;
3530 UninitializedFieldVisitor(Sema &S, in UninitializedFieldVisitor()
3847 Sema &SemaRef, const CXXConstructorDecl *Constructor) { in DiagnoseUninitializedFields()
3914 void Sema::ActOnStartCXXInClassMemberInitializer() { in ActOnStartCXXInClassMemberInitializer()
3920 void Sema::ActOnStartTrailingRequiresClause(Scope *S, Declarator &D) { in ActOnStartTrailingRequiresClause()
3934 ExprResult Sema::ActOnFinishTrailingRequiresClause(ExprResult ConstraintExpr) { in ActOnFinishTrailingRequiresClause()
3938 ExprResult Sema::ActOnRequiresClause(ExprResult ConstraintExpr) { in ActOnRequiresClause()
3956 void Sema::ActOnFinishCXXInClassMemberInitializer(Decl *D, in ActOnFinishCXXInClassMemberInitializer()
4014 static bool FindBaseInitializer(Sema &SemaRef, in FindBaseInitializer()
4057 Sema::ActOnMemInitializer(Decl *ConstructorD, in ActOnMemInitializer()
4073 Sema::ActOnMemInitializer(Decl *ConstructorD, in ActOnMemInitializer()
4117 ValueDecl *Sema::tryLookupCtorInitMemberDecl(CXXRecordDecl *ClassDecl, in tryLookupCtorInitMemberDecl()
4135 Sema::BuildMemInitializer(Decl *ConstructorD, in BuildMemInitializer()
4307 Sema::BuildMemberInitializer(ValueDecl *Member, Expr *Init, in BuildMemberInitializer()
4383 Sema::BuildDelegatingInitializer(TypeSourceInfo *TInfo, Expr *Init, in BuildDelegatingInitializer()
4440 Sema::BuildBaseInitializer(QualType BaseType, TypeSourceInfo *BaseTInfo, in BuildBaseInitializer()
4572 static Expr *CastForMoving(Sema &SemaRef, Expr *E, QualType T = QualType()) { in CastForMoving()
4595 BuildImplicitBaseInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, in BuildImplicitBaseInitializer()
4678 BuildImplicitMemberInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, in BuildImplicitMemberInitializer()
4710 Sema::LookupMemberName); in BuildImplicitMemberInitializer()
4838 Sema &S;
4846 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits) in BaseAndFieldInfo()
4942 static bool CollectFieldInitializer(Sema &SemaRef, BaseAndFieldInfo &Info, in CollectFieldInitializer()
5011 Sema::SetDelegatingInitializer(CXXConstructorDecl *Constructor, in SetDelegatingInitializer()
5032 bool Sema::SetCtorInitializers(CXXConstructorDecl *Constructor, bool AnyErrors, in SetCtorInitializers()
5233 Sema &SemaRef, const CXXConstructorDecl *Constructor, in DiagnoseBaseOrMemInitializerOrder()
5296 Sema::SemaDiagnosticBuilder D = in DiagnoseBaseOrMemInitializerOrder()
5324 bool CheckRedundantInit(Sema &S, in CheckRedundantInit()
5354 bool CheckRedundantUnionInit(Sema &S, in CheckRedundantUnionInit()
5390 void Sema::ActOnMemInitializers(Decl *ConstructorDecl, in ActOnMemInitializers()
5457 Sema::MarkBaseAndMemberDestructorsReferenced(SourceLocation Location, in MarkBaseAndMemberDestructorsReferenced()
5556 void Sema::MarkVirtualBaseDestructorsReferenced( in MarkVirtualBaseDestructorsReferenced()
5594 void Sema::ActOnDefaultCtorInitializers(Decl *CDtorDecl) { in ActOnDefaultCtorInitializers()
5605 bool Sema::isAbstractType(SourceLocation Loc, QualType T) { in isAbstractType()
5626 bool Sema::RequireNonAbstractType(SourceLocation Loc, QualType T, in RequireNonAbstractType()
5637 void Sema::DiagnoseAbstractType(const CXXRecordDecl *RD) { in DiagnoseAbstractType()
5691 Sema &S;
5696 AbstractUsageInfo(Sema &S, CXXRecordDecl *Record) in AbstractUsageInfo()
5708 void CheckType(const NamedDecl *D, TypeLoc TL, Sema::AbstractDiagSelID Sel);
5718 void Visit(TypeLoc TL, Sema::AbstractDiagSelID Sel) { in Visit()
5727 void Check(FunctionProtoTypeLoc TL, Sema::AbstractDiagSelID Sel) { in Check()
5728 Visit(TL.getReturnLoc(), Sema::AbstractReturnType); in Check()
5734 if (TSI) Visit(TSI->getTypeLoc(), Sema::AbstractParamType); in Check()
5738 void Check(ArrayTypeLoc TL, Sema::AbstractDiagSelID Sel) { in Check()
5739 Visit(TL.getElementLoc(), Sema::AbstractArrayType); in Check()
5742 void Check(TemplateSpecializationTypeLoc TL, Sema::AbstractDiagSelID Sel) { in Check()
5748 Visit(TSI->getTypeLoc(), Sema::AbstractNone); in Check()
5755 void Check(Type TL, Sema::AbstractDiagSelID Sel) { \
5756 Visit(TL.getNextTypeLoc(), Sema::AbstractNone); \
5766 void Check(TypeLoc TL, Sema::AbstractDiagSelID Sel) { in CheckPolymorphic()
5775 if (Sel == Sema::AbstractNone) return; in CheckPolymorphic()
5780 Sel = Sema::AbstractArrayType; in CheckPolymorphic()
5787 if (Sel == Sema::AbstractArrayType) { in CheckPolymorphic()
5799 Sema::AbstractDiagSelID Sel) { in CheckType()
5817 Info.CheckType(MD, TSI->getTypeLoc(), Sema::AbstractNone); in CheckAbstractClassUsage()
5837 Info.CheckType(FD, TSI->getTypeLoc(), Sema::AbstractFieldType); in CheckAbstractClassUsage()
5841 Info.CheckType(VD, TSI->getTypeLoc(), Sema::AbstractVariableType); in CheckAbstractClassUsage()
5853 static void ReferenceDllExportedMembers(Sema &S, CXXRecordDecl *Class) { in ReferenceDllExportedMembers()
5869 Sema &S; in ReferenceDllExportedMembers()
5870 MarkingClassDllexported(Sema &S, CXXRecordDecl *Class, in ReferenceDllExportedMembers()
5873 Sema::CodeSynthesisContext Ctx; in ReferenceDllExportedMembers()
5874 Ctx.Kind = Sema::CodeSynthesisContext::MarkingClassDllexported; in ReferenceDllExportedMembers()
5938 static void checkForMultipleExportedDefaultConstructors(Sema &S, in checkForMultipleExportedDefaultConstructors()
5976 static void checkCUDADeviceBuiltinSurfaceClassTemplate(Sema &S, in checkCUDADeviceBuiltinSurfaceClassTemplate()
5979 auto reportIllegalClassTemplate = [&ErrorReported](Sema &S, in checkCUDADeviceBuiltinSurfaceClassTemplate()
6030 static void checkCUDADeviceBuiltinTextureClassTemplate(Sema &S, in checkCUDADeviceBuiltinTextureClassTemplate()
6033 auto reportIllegalClassTemplate = [&ErrorReported](Sema &S, in checkCUDADeviceBuiltinTextureClassTemplate()
6093 void Sema::checkClassLevelCodeSegAttribute(CXXRecordDecl *Class) { in checkClassLevelCodeSegAttribute()
6104 void Sema::checkClassLevelDLLAttribute(CXXRecordDecl *Class) { in checkClassLevelDLLAttribute()
6268 void Sema::propagateDLLAttrToBaseClassTemplate( in propagateDLLAttrToBaseClassTemplate()
6333 Sema::DefaultedFunctionKind
6334 Sema::getDefaultedFunctionKind(const FunctionDecl *FD) { in getDefaultedFunctionKind()
6338 return Sema::CXXDefaultConstructor; in getDefaultedFunctionKind()
6341 return Sema::CXXCopyConstructor; in getDefaultedFunctionKind()
6344 return Sema::CXXMoveConstructor; in getDefaultedFunctionKind()
6348 return Sema::CXXCopyAssignment; in getDefaultedFunctionKind()
6351 return Sema::CXXMoveAssignment; in getDefaultedFunctionKind()
6354 return Sema::CXXDestructor; in getDefaultedFunctionKind()
6387 static void DefineDefaultedFunction(Sema &S, FunctionDecl *FD, in DefineDefaultedFunction()
6389 Sema::DefaultedFunctionKind DFK = S.getDefaultedFunctionKind(FD); in DefineDefaultedFunction()
6394 case Sema::CXXDefaultConstructor: in DefineDefaultedFunction()
6398 case Sema::CXXCopyConstructor: in DefineDefaultedFunction()
6401 case Sema::CXXCopyAssignment: in DefineDefaultedFunction()
6404 case Sema::CXXDestructor: in DefineDefaultedFunction()
6407 case Sema::CXXMoveConstructor: in DefineDefaultedFunction()
6410 case Sema::CXXMoveAssignment: in DefineDefaultedFunction()
6413 case Sema::CXXInvalid: in DefineDefaultedFunction()
6420 static bool canPassInRegisters(Sema &S, CXXRecordDecl *D, in canPassInRegisters()
6538 ReportOverrides(Sema &S, unsigned DiagID, const CXXMethodDecl *MD, in ReportOverrides()
6560 void Sema::CheckCompletedCXXClass(Scope *S, CXXRecordDecl *Record) { in CheckCompletedCXXClass()
6891 static Sema::SpecialMemberOverloadResult lookupCallFromSpecialMember( in lookupCallFromSpecialMember()
6892 Sema &S, CXXRecordDecl *Class, Sema::CXXSpecialMember CSM, in lookupCallFromSpecialMember()
6895 if (CSM == Sema::CXXCopyAssignment || CSM == Sema::CXXMoveAssignment) in lookupCallFromSpecialMember()
6899 if (CSM == Sema::CXXDefaultConstructor || CSM == Sema::CXXDestructor) in lookupCallFromSpecialMember()
6912 class Sema::InheritedConstructorInfo {
6913 Sema &S;
6923 InheritedConstructorInfo(Sema &S, SourceLocation UseLoc, in InheritedConstructorInfo()
6996 specialMemberIsConstexpr(Sema &S, CXXRecordDecl *ClassDecl, in specialMemberIsConstexpr()
6997 Sema::CXXSpecialMember CSM, unsigned Quals, in specialMemberIsConstexpr()
7000 Sema::InheritedConstructorInfo *Inherited = nullptr) { in specialMemberIsConstexpr()
7004 assert(CSM == Sema::CXXDefaultConstructor); in specialMemberIsConstexpr()
7011 if (CSM == Sema::CXXDefaultConstructor) in specialMemberIsConstexpr()
7013 if (CSM == Sema::CXXDestructor) in specialMemberIsConstexpr()
7016 Sema::SpecialMemberOverloadResult SMOR = in specialMemberIsConstexpr()
7028 Sema &S, CXXRecordDecl *ClassDecl, Sema::CXXSpecialMember CSM, in defaultedSpecialMemberIsConstexpr()
7030 Sema::InheritedConstructorInfo *Inherited = nullptr) { in defaultedSpecialMemberIsConstexpr()
7038 case Sema::CXXDefaultConstructor: in defaultedSpecialMemberIsConstexpr()
7049 case Sema::CXXCopyConstructor: in defaultedSpecialMemberIsConstexpr()
7050 case Sema::CXXMoveConstructor: in defaultedSpecialMemberIsConstexpr()
7054 case Sema::CXXCopyAssignment: in defaultedSpecialMemberIsConstexpr()
7055 case Sema::CXXMoveAssignment: in defaultedSpecialMemberIsConstexpr()
7062 case Sema::CXXDestructor: in defaultedSpecialMemberIsConstexpr()
7065 case Sema::CXXInvalid: in defaultedSpecialMemberIsConstexpr()
7077 return CSM == Sema::CXXDefaultConstructor in defaultedSpecialMemberIsConstexpr()
7115 if (CSM == Sema::CXXDefaultConstructor && F->hasInClassInitializer()) in defaultedSpecialMemberIsConstexpr()
7124 } else if (CSM == Sema::CXXDefaultConstructor) { in defaultedSpecialMemberIsConstexpr()
7137 Sema &S;
7139 ComputingExceptionSpec(Sema &S, FunctionDecl *FD, SourceLocation Loc) in ComputingExceptionSpec()
7141 Sema::CodeSynthesisContext Ctx; in ComputingExceptionSpec()
7142 Ctx.Kind = Sema::CodeSynthesisContext::ExceptionSpecEvaluation; in ComputingExceptionSpec()
7153 static Sema::ImplicitExceptionSpecification
7155 Sema &S, SourceLocation Loc, CXXMethodDecl *MD, Sema::CXXSpecialMember CSM,
7156 Sema::InheritedConstructorInfo *ICI);
7158 static Sema::ImplicitExceptionSpecification
7159 ComputeDefaultedComparisonExceptionSpec(Sema &S, SourceLocation Loc,
7161 Sema::DefaultedComparisonKind DCK);
7163 static Sema::ImplicitExceptionSpecification
7164 computeImplicitExceptionSpec(Sema &S, SourceLocation Loc, FunctionDecl *FD) { in computeImplicitExceptionSpec()
7177 Sema::InheritedConstructorInfo ICI( in computeImplicitExceptionSpec()
7180 S, Loc, CD, Sema::CXXDefaultConstructor, &ICI); in computeImplicitExceptionSpec()
7183 static FunctionProtoType::ExtProtoInfo getImplicitMethodEPI(Sema &S, in getImplicitMethodEPI()
7198 void Sema::EvaluateImplicitExceptionSpec(SourceLocation Loc, FunctionDecl *FD) { in EvaluateImplicitExceptionSpec()
7211 void Sema::CheckExplicitlyDefaultedFunction(Scope *S, FunctionDecl *FD) { in CheckExplicitlyDefaultedFunction()
7227 bool Sema::CheckExplicitlyDefaultedSpecialMember(CXXMethodDecl *MD, in CheckExplicitlyDefaultedSpecialMember()
7448 using DefaultedComparisonKind = Sema::DefaultedComparisonKind;
7450 DefaultedComparisonVisitor(Sema &S, CXXRecordDecl *RD, FunctionDecl *FD, in DefaultedComparisonVisitor()
7544 Sema &S;
7600 DefaultedComparisonAnalyzer(Sema &S, CXXRecordDecl *RD, FunctionDecl *FD, in DefaultedComparisonAnalyzer()
7902 DefaultedComparisonSynthesizer(Sema &S, CXXRecordDecl *RD, FunctionDecl *FD, in DefaultedComparisonSynthesizer()
7909 Sema::CompoundScopeRAII CompoundScope(S); in build()
7976 Sema::ComparisonCategoryUsage::DefaultedOperator); in build()
8076 Sema::ConditionKind::Boolean), in buildIfNotCondReturnFalse()
8150 Sema::ConditionKind::Boolean), in visitSubobjectArray()
8215 Sema::ConditionResult Cond = S.ActOnCondition( in visitExpandedSubobject()
8216 nullptr, Loc, Comp.get(), Sema::ConditionKind::Boolean); in visitExpandedSubobject()
8260 static void lookupOperatorsForDefaultedComparison(Sema &Self, Scope *S, in lookupOperatorsForDefaultedComparison()
8284 bool Sema::CheckExplicitlyDefaultedComparison(Scope *S, FunctionDecl *FD, in CheckExplicitlyDefaultedComparison()
8495 void Sema::DeclareImplicitEqualityComparison(CXXRecordDecl *RD, in DeclareImplicitEqualityComparison()
8497 Sema::CodeSynthesisContext Ctx; in DeclareImplicitEqualityComparison()
8498 Ctx.Kind = Sema::CodeSynthesisContext::DeclaringImplicitEqualityComparison; in DeclareImplicitEqualityComparison()
8509 void Sema::DefineDefaultedComparison(SourceLocation UseLoc, FunctionDecl *FD, in DefineDefaultedComparison()
8544 static Sema::ImplicitExceptionSpecification
8545 ComputeDefaultedComparisonExceptionSpec(Sema &S, SourceLocation Loc, in ComputeDefaultedComparisonExceptionSpec()
8547 Sema::DefaultedComparisonKind DCK) { in ComputeDefaultedComparisonExceptionSpec()
8549 Sema::ImplicitExceptionSpecification ExceptSpec(S); in ComputeDefaultedComparisonExceptionSpec()
8567 Sema::SynthesizedFunctionScope Scope(S, FD); in ComputeDefaultedComparisonExceptionSpec()
8569 S, Sema::ExpressionEvaluationContext::Unevaluated); in ComputeDefaultedComparisonExceptionSpec()
8588 void Sema::CheckDelayedMemberExceptionSpecs() { in CheckDelayedMemberExceptionSpecs()
8611 Sema &S;
8613 Sema::CXXSpecialMember CSM;
8614 Sema::InheritedConstructorInfo *ICI;
8619 SpecialMemberVisitor(Sema &S, CXXMethodDecl *MD, Sema::CXXSpecialMember CSM, in SpecialMemberVisitor()
8620 Sema::InheritedConstructorInfo *ICI) in SpecialMemberVisitor()
8623 case Sema::CXXDefaultConstructor: in SpecialMemberVisitor()
8624 case Sema::CXXCopyConstructor: in SpecialMemberVisitor()
8625 case Sema::CXXMoveConstructor: in SpecialMemberVisitor()
8628 case Sema::CXXCopyAssignment: in SpecialMemberVisitor()
8629 case Sema::CXXMoveAssignment: in SpecialMemberVisitor()
8632 case Sema::CXXDestructor: in SpecialMemberVisitor()
8634 case Sema::CXXInvalid: in SpecialMemberVisitor()
8649 return CSM == Sema::CXXMoveConstructor || CSM == Sema::CXXMoveAssignment; in isMove()
8653 Sema::SpecialMemberOverloadResult lookupIn(CXXRecordDecl *Class, in lookupIn()
8661 Sema::SpecialMemberOverloadResult lookupInheritedCtor(CXXRecordDecl *Class) { in lookupInheritedCtor()
8664 assert(CSM == Sema::CXXDefaultConstructor); in lookupInheritedCtor()
8733 SpecialMemberDeletionInfo(Sema &S, CXXMethodDecl *MD, in SpecialMemberDeletionInfo()
8734 Sema::CXXSpecialMember CSM, in SpecialMemberDeletionInfo()
8735 Sema::InheritedConstructorInfo *ICI, bool Diagnose) in SpecialMemberDeletionInfo()
8741 Sema::CXXSpecialMember getEffectiveCSM() { in getEffectiveCSM()
8742 return ICI ? Sema::CXXInvalid : CSM; in getEffectiveCSM()
8757 Sema::SpecialMemberOverloadResult SMOR,
8788 Subobject Subobj, Sema::SpecialMemberOverloadResult SMOR, in shouldDeleteForSubobjectCall()
8795 if (SMOR.getKind() == Sema::SpecialMemberOverloadResult::NoMemberOrDeleted) in shouldDeleteForSubobjectCall()
8797 else if (SMOR.getKind() == Sema::SpecialMemberOverloadResult::Ambiguous) in shouldDeleteForSubobjectCall()
8858 if (!(CSM == Sema::CXXDefaultConstructor && in shouldDeleteForClassSubobject()
8868 Sema::SpecialMemberOverloadResult SMOR = in shouldDeleteForClassSubobject()
8869 S.LookupSpecialMember(Class, Sema::CXXDestructor, in shouldDeleteForClassSubobject()
8888 if (CSM == Sema::CXXDefaultConstructor && FD->hasInClassInitializer()) in shouldDeleteForVariantObjCPtrMember()
8912 Sema::SpecialMemberOverloadResult SMOR = lookupInheritedCtor(BaseClass); in shouldDeleteForBase()
8940 if (CSM == Sema::CXXDefaultConstructor) { in shouldDeleteForField()
8964 } else if (CSM == Sema::CXXCopyConstructor) { in shouldDeleteForField()
9015 if (CSM == Sema::CXXDefaultConstructor && AllVariantFieldsAreConst && in shouldDeleteForField()
9043 if (CSM == Sema::CXXDefaultConstructor && inUnion() && AllFieldsAreConst) { in shouldDeleteForAllConstMembers()
9062 bool Sema::ShouldDeleteSpecialMember(CXXMethodDecl *MD, CXXSpecialMember CSM, in ShouldDeleteSpecialMember()
9193 void Sema::DiagnoseDeletedDefaultedFunction(FunctionDecl *FD) { in DiagnoseDeletedDefaultedFunction()
9220 static bool findTrivialSpecialMember(Sema &S, CXXRecordDecl *RD, in findTrivialSpecialMember()
9221 Sema::CXXSpecialMember CSM, unsigned Quals, in findTrivialSpecialMember()
9223 Sema::TrivialABIHandling TAH, in findTrivialSpecialMember()
9229 case Sema::CXXInvalid: in findTrivialSpecialMember()
9232 case Sema::CXXDefaultConstructor: in findTrivialSpecialMember()
9261 case Sema::CXXDestructor: in findTrivialSpecialMember()
9266 (TAH == Sema::TAH_ConsiderTrivialABI && in findTrivialSpecialMember()
9278 case Sema::CXXCopyConstructor: in findTrivialSpecialMember()
9283 (TAH == Sema::TAH_ConsiderTrivialABI && in findTrivialSpecialMember()
9299 case Sema::CXXCopyAssignment: in findTrivialSpecialMember()
9314 case Sema::CXXMoveConstructor: in findTrivialSpecialMember()
9315 case Sema::CXXMoveAssignment: in findTrivialSpecialMember()
9317 Sema::SpecialMemberOverloadResult SMOR = in findTrivialSpecialMember()
9324 if (SMOR.getKind() == Sema::SpecialMemberOverloadResult::Ambiguous) in findTrivialSpecialMember()
9329 Sema::SpecialMemberOverloadResult::NoMemberOrDeleted); in findTrivialSpecialMember()
9338 if (TAH == Sema::TAH_ConsiderTrivialABI && in findTrivialSpecialMember()
9339 (CSM == Sema::CXXCopyConstructor || CSM == Sema::CXXMoveConstructor)) in findTrivialSpecialMember()
9375 static bool checkTrivialSubobjectCall(Sema &S, SourceLocation SubobjLoc, in checkTrivialSubobjectCall()
9377 Sema::CXXSpecialMember CSM, in checkTrivialSubobjectCall()
9379 Sema::TrivialABIHandling TAH, bool Diagnose) { in checkTrivialSubobjectCall()
9393 if (!Selected && CSM == Sema::CXXDefaultConstructor) { in checkTrivialSubobjectCall()
9416 S.SpecialMemberIsTrivial(Selected, CSM, Sema::TAH_IgnoreTrivialABI, in checkTrivialSubobjectCall()
9426 static bool checkTrivialClassMembers(Sema &S, CXXRecordDecl *RD, in checkTrivialClassMembers()
9427 Sema::CXXSpecialMember CSM, in checkTrivialClassMembers()
9429 Sema::TrivialABIHandling TAH, in checkTrivialClassMembers()
9449 if (CSM == Sema::CXXDefaultConstructor && FI->hasInClassInitializer()) { in checkTrivialClassMembers()
9478 void Sema::DiagnoseNontrivial(const CXXRecordDecl *RD, CXXSpecialMember CSM) { in DiagnoseNontrivial()
9490 bool Sema::SpecialMemberIsTrivial(CXXMethodDecl *MD, CXXSpecialMember CSM, in SpecialMemberIsTrivial()
9629 Sema *S;
9707 void Sema::FindHiddenVirtualMethods(CXXMethodDecl *MD, in FindHiddenVirtualMethods()
9735 void Sema::NoteHiddenVirtualMethods(CXXMethodDecl *MD, in NoteHiddenVirtualMethods()
9748 void Sema::DiagnoseHiddenVirtualMethods(CXXMethodDecl *MD) { in DiagnoseHiddenVirtualMethods()
9765 void Sema::checkIllFormedTrivialABIStruct(CXXRecordDecl &RD) { in checkIllFormedTrivialABIStruct()
9839 void Sema::ActOnFinishCXXMemberSpecification( in ActOnFinishCXXMemberSpecification()
9905 void Sema::AddImplicitlyDeclaredMembersToClass(CXXRecordDecl *ClassDecl) { in AddImplicitlyDeclaredMembersToClass()
10003 Sema::ActOnReenterTemplateScope(Decl *D, in ActOnReenterTemplateScope()
10069 void Sema::ActOnStartDelayedMemberDeclarations(Scope *S, Decl *RecordD) { in ActOnStartDelayedMemberDeclarations()
10076 void Sema::ActOnFinishDelayedMemberDeclarations(Scope *S, Decl *RecordD) { in ActOnFinishDelayedMemberDeclarations()
10084 void Sema::ActOnReenterCXXMethodParameter(Scope *S, ParmVarDecl *Param) { in ActOnReenterCXXMethodParameter()
10101 void Sema::ActOnStartDelayedCXXMethodDeclaration(Scope *S, Decl *MethodD) { in ActOnStartDelayedCXXMethodDeclaration()
10109 void Sema::ActOnDelayedCXXMethodParameter(Scope *S, Decl *ParamD) { in ActOnDelayedCXXMethodParameter()
10126 void Sema::ActOnFinishDelayedCXXMethodDeclaration(Scope *S, Decl *MethodD) { in ActOnFinishDelayedCXXMethodDeclaration()
10148 static void checkMethodTypeQualifiers(Sema &S, Declarator &D, unsigned DiagID) { in checkMethodTypeQualifiers()
10173 QualType Sema::CheckConstructorDeclarator(Declarator &D, QualType R, in CheckConstructorDeclarator()
10236 void Sema::CheckConstructor(CXXConstructorDecl *Constructor) { in CheckConstructor()
10271 bool Sema::CheckDestructor(CXXDestructorDecl *Destructor) { in CheckDestructor()
10326 QualType Sema::CheckDestructorDeclarator(Declarator &D, QualType R, in CheckDestructorDeclarator()
10448 void Sema::CheckConversionDeclarator(Declarator &D, QualType &R, in CheckConversionDeclarator()
10614 Decl *Sema::ActOnConversionDeclarator(CXXConversionDecl *Conversion) { in ActOnConversionDeclarator()
10660 BadSpecifierDiagnoser(Sema &S, SourceLocation Loc, unsigned DiagID) in BadSpecifierDiagnoser()
10680 Sema &S;
10681 Sema::SemaDiagnosticBuilder Diagnostic;
10690 void Sema::CheckDeductionGuideDeclarator(Declarator &D, QualType &R, in CheckDeductionGuideDeclarator()
10808 static void DiagnoseNamespaceInlineMismatch(Sema &S, SourceLocation KeywordLoc, in DiagnoseNamespaceInlineMismatch()
10848 Decl *Sema::ActOnStartNamespaceDef( in ActOnStartNamespaceDef()
11001 void Sema::ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace) { in ActOnFinishNamespaceDef()
11013 CXXRecordDecl *Sema::getStdBadAlloc() const { in getStdBadAlloc()
11018 EnumDecl *Sema::getStdAlignValT() const { in getStdAlignValT()
11022 NamespaceDecl *Sema::getStdNamespace() const { in getStdNamespace()
11027 NamespaceDecl *Sema::lookupStdExperimentalNamespace() { in lookupStdExperimentalNamespace()
11051 Sema &S;
11074 QualType Sema::CheckComparisonCategoryType(ComparisonCategoryType Kind, in CheckComparisonCategoryType()
11180 NamespaceDecl *Sema::getOrCreateStdNamespace() { in getOrCreateStdNamespace()
11195 bool Sema::isStdInitializerList(QualType Ty, QualType *Element) { in isStdInitializerList()
11255 static ClassTemplateDecl *LookupStdInitializerList(Sema &S, SourceLocation Loc){ in LookupStdInitializerList()
11263 Loc, Sema::LookupOrdinaryName); in LookupStdInitializerList()
11289 QualType Sema::BuildStdInitializerList(QualType Element, SourceLocation Loc) { in BuildStdInitializerList()
11304 bool Sema::isInitListConstructor(const FunctionDecl *Ctor) { in isInitListConstructor()
11351 static bool TryNamespaceTypoCorrection(Sema &S, LookupResult &R, Scope *Sc, in TryNamespaceTypoCorrection()
11359 Sema::CTK_ErrorRecovery)) { in TryNamespaceTypoCorrection()
11379 Decl *Sema::ActOnUsingDirective(Scope *S, SourceLocation UsingLoc, in ActOnUsingDirective()
11462 void Sema::PushUsingDirective(Scope *S, UsingDirectiveDecl *UDir) { in PushUsingDirective()
11475 Decl *Sema::ActOnUsingDeclaration(Scope *S, AccessSpecifier AS, in ActOnUsingDeclaration()
11577 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig, in CheckUsingShadowDecl()
11745 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, in BuildUsingShadowDecl()
11815 void Sema::HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow) { in HideUsingShadowDecl()
11941 NamedDecl *Sema::BuildUsingDeclaration( in BuildUsingDeclaration()
12199 NamedDecl *Sema::BuildUsingPackDecl(NamedDecl *InstantiatedFrom, in BuildUsingPackDecl()
12213 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl()
12243 bool Sema::CheckUsingDeclRedeclaration(SourceLocation UsingLoc, in CheckUsingDeclRedeclaration()
12321 bool Sema::CheckUsingDeclQualifier(SourceLocation UsingLoc, in CheckUsingDeclQualifier()
12509 Decl *Sema::ActOnAliasDeclaration(Scope *S, AccessSpecifier AS, in ActOnAliasDeclaration()
12665 Decl *Sema::ActOnNamespaceAliasDef(Scope *S, SourceLocation NamespaceLoc, in ActOnNamespaceAliasDef()
12746 Sema::ImplicitExceptionSpecification ExceptSpec;
12748 SpecialMemberExceptionSpecInfo(Sema &S, CXXMethodDecl *MD, in SpecialMemberExceptionSpecInfo()
12749 Sema::CXXSpecialMember CSM, in SpecialMemberExceptionSpecInfo()
12750 Sema::InheritedConstructorInfo *ICI, in SpecialMemberExceptionSpecInfo()
12761 Sema::SpecialMemberOverloadResult SMOR);
12771 Sema::SpecialMemberOverloadResult SMOR = lookupInheritedCtor(BaseClass); in visitBase()
12782 if (CSM == Sema::CXXDefaultConstructor && FD->hasInClassInitializer()) { in visitField()
12810 Subobject Subobj, Sema::SpecialMemberOverloadResult SMOR) { in visitSubobjectCall()
12817 bool Sema::tryResolveExplicitSpecifier(ExplicitSpecifier &ExplicitSpec) { in tryResolveExplicitSpecifier()
12832 ExplicitSpecifier Sema::ActOnExplicitBoolSpecifier(Expr *ExplicitExpr) { in ActOnExplicitBoolSpecifier()
12839 static Sema::ImplicitExceptionSpecification
12841 Sema &S, SourceLocation Loc, CXXMethodDecl *MD, Sema::CXXSpecialMember CSM, in ComputeDefaultedSpecialMemberExceptionSpec()
12842 Sema::InheritedConstructorInfo *ICI) { in ComputeDefaultedSpecialMemberExceptionSpec()
12886 Sema &S;
12887 Sema::SpecialMemberDecl D;
12888 Sema::ContextRAII SavedContext;
12891 DeclaringSpecialMember(Sema &S, CXXRecordDecl *RD, Sema::CXXSpecialMember CSM) in DeclaringSpecialMember()
12901 Sema::CodeSynthesisContext Ctx; in DeclaringSpecialMember()
12902 Ctx.Kind = Sema::CodeSynthesisContext::DeclaringSpecialMember; in DeclaringSpecialMember()
12929 void Sema::CheckImplicitSpecialMemberDeclaration(Scope *S, FunctionDecl *FD) { in CheckImplicitSpecialMemberDeclaration()
12944 void Sema::setupImplicitSpecialMemberType(CXXMethodDecl *SpecialMem, in setupImplicitSpecialMemberType()
12959 CXXConstructorDecl *Sema::DeclareImplicitDefaultConstructor( in DeclareImplicitDefaultConstructor()
13023 void Sema::DefineImplicitDefaultConstructor(SourceLocation CurrentLocation, in DefineImplicitDefaultConstructor()
13064 void Sema::ActOnFinishDelayedMemberInitializers(Decl *D) { in ActOnFinishDelayedMemberInitializers()
13072 Sema::findInheritingConstructor(SourceLocation Loc, in findInheritingConstructor()
13154 void Sema::NoteDeletedInheritingConstructor(CXXConstructorDecl *Ctor) { in NoteDeletedInheritingConstructor()
13161 void Sema::DefineInheritingConstructor(SourceLocation CurrentLocation, in DefineInheritingConstructor()
13242 CXXDestructorDecl *Sema::DeclareImplicitDestructor(CXXRecordDecl *ClassDecl) { in DeclareImplicitDestructor()
13309 void Sema::DefineImplicitDestructor(SourceLocation CurrentLocation, in DefineImplicitDestructor()
13351 void Sema::CheckCompleteDestructorVariant(SourceLocation CurrentLocation, in CheckCompleteDestructorVariant()
13372 void Sema::ActOnFinishCXXMemberDecls() { in ActOnFinishCXXMemberDecls()
13384 void Sema::ActOnFinishCXXNonNestedClass() { in ActOnFinishCXXNonNestedClass()
13403 void Sema::referenceDLLExportedClassMethods() { in referenceDLLExportedClassMethods()
13414 void Sema::AdjustDestructorExceptionSpec(CXXDestructorDecl *Destructor) { in AdjustDestructorExceptionSpec()
13462 virtual Expr *build(Sema &S, SourceLocation Loc) const = 0;
13470 Expr *build(Sema &S, SourceLocation Loc) const override { in build()
13480 Expr *build(Sema &S, SourceLocation Loc) const override { in build()
13492 Expr *build(Sema &S, SourceLocation Loc) const override { in build()
13507 Expr *build(Sema &S, SourceLocation Loc) const override { in build()
13523 Expr *build(Sema &S, SourceLocation Loc) const override { in build()
13539 Expr *build(Sema &S, SourceLocation Loc) const override { in build()
13550 Expr *build(Sema &S, SourceLocation Loc) const override { in build()
13563 Expr *build(Sema &S, SourceLocation Loc) const override { in build()
13579 buildMemcpyForAssignmentOp(Sema &S, SourceLocation Loc, QualType T, in buildMemcpyForAssignmentOp()
13608 Sema::LookupOrdinaryName); in buildMemcpyForAssignmentOp()
13659 buildSingleCopyAssignRecursively(Sema &S, SourceLocation Loc, QualType T, in buildSingleCopyAssignRecursively()
13683 LookupResult OpLookup(S, Name, Loc, Sema::LookupOrdinaryName); in buildSingleCopyAssignRecursively()
13845 S.ActOnCondition(nullptr, Loc, Comparison, Sema::ConditionKind::Boolean), in buildSingleCopyAssignRecursively()
13850 buildSingleCopyAssign(Sema &S, SourceLocation Loc, QualType T, in buildSingleCopyAssign()
13870 CXXMethodDecl *Sema::DeclareImplicitCopyAssignment(CXXRecordDecl *ClassDecl) { in DeclareImplicitCopyAssignment()
13954 static void diagnoseDeprecatedCopyOperation(Sema &S, CXXMethodDecl *CopyOp) { in diagnoseDeprecatedCopyOperation()
13997 void Sema::DefineImplicitCopyAssignment(SourceLocation CurrentLocation, in DefineImplicitCopyAssignment()
14201 CXXMethodDecl *Sema::DeclareImplicitMoveAssignment(CXXRecordDecl *ClassDecl) { in DeclareImplicitMoveAssignment()
14283 static void checkMoveAssignmentForRepeatedMove(Sema &S, CXXRecordDecl *Class, in checkMoveAssignmentForRepeatedMove()
14316 Sema::SpecialMemberOverloadResult SMOR = in checkMoveAssignmentForRepeatedMove()
14317 S.LookupSpecialMember(Base, Sema::CXXMoveAssignment, in checkMoveAssignmentForRepeatedMove()
14364 void Sema::DefineImplicitMoveAssignment(SourceLocation CurrentLocation, in DefineImplicitMoveAssignment()
14575 CXXConstructorDecl *Sema::DeclareImplicitCopyConstructor( in DeclareImplicitCopyConstructor()
14667 void Sema::DefineImplicitCopyConstructor(SourceLocation CurrentLocation, in DefineImplicitCopyConstructor()
14704 Sema::CompoundScopeRAII CompoundScope(*this); in DefineImplicitCopyConstructor()
14715 CXXConstructorDecl *Sema::DeclareImplicitMoveConstructor( in DeclareImplicitMoveConstructor()
14801 void Sema::DefineImplicitMoveConstructor(SourceLocation CurrentLocation, in DefineImplicitMoveConstructor()
14831 Sema::CompoundScopeRAII CompoundScope(*this); in DefineImplicitMoveConstructor()
14842 bool Sema::isImplicitlyDeleted(FunctionDecl *FD) { in isImplicitlyDeleted()
14846 void Sema::DefineImplicitLambdaToFunctionPointerConversion( in DefineImplicitLambdaToFunctionPointerConversion()
14908 void Sema::DefineImplicitLambdaToBlockPointerConversion( in DefineImplicitLambdaToBlockPointerConversion()
14980 Sema::BuildCXXConstructExpr(SourceLocation ConstructLoc, QualType DeclInitType, in BuildCXXConstructExpr()
15018 Sema::BuildCXXConstructExpr(SourceLocation ConstructLoc, QualType DeclInitType, in BuildCXXConstructExpr()
15044 Sema::BuildCXXConstructExpr(SourceLocation ConstructLoc, QualType DeclInitType, in BuildCXXConstructExpr()
15075 ExprResult Sema::BuildCXXDefaultInitExpr(SourceLocation Loc, FieldDecl *Field) { in BuildCXXDefaultInitExpr()
15139 void Sema::FinalizeVarWithDestructor(VarDecl *VD, const RecordType *Record) { in FinalizeVarWithDestructor()
15202 Sema::CompleteConstructorCall(CXXConstructorDecl *Constructor, in CompleteConstructorCall()
15242 CheckOperatorNewDeleteDeclarationScope(Sema &SemaRef, in CheckOperatorNewDeleteDeclarationScope()
15262 RemoveAddressSpaceFromPtr(Sema &SemaRef, const PointerType *PtrTy) { in RemoveAddressSpaceFromPtr()
15269 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, in CheckOperatorNewDeleteTypes()
15333 CheckOperatorNewDeclaration(Sema &SemaRef, const FunctionDecl *FnDecl) { in CheckOperatorNewDeclaration()
15364 CheckOperatorDeleteDeclaration(Sema &SemaRef, FunctionDecl *FnDecl) { in CheckOperatorDeleteDeclaration()
15408 bool Sema::CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl) { in CheckOverloadedOperatorDeclaration()
15543 checkLiteralOperatorTemplateParameterList(Sema &SemaRef, in checkLiteralOperatorTemplateParameterList()
15600 bool Sema::CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl) { in CheckLiteralOperatorDeclaration()
15773 Decl *Sema::ActOnStartLinkageSpecification(Scope *S, SourceLocation ExternLoc, in ActOnStartLinkageSpecification()
15809 Decl *Sema::ActOnFinishLinkageSpecification(Scope *S, in ActOnFinishLinkageSpecification()
15820 Decl *Sema::ActOnEmptyDeclaration(Scope *S, in ActOnEmptyDeclaration()
15835 VarDecl *Sema::BuildExceptionDeclaration(Scope *S, in BuildExceptionDeclaration()
15967 Decl *Sema::ActOnExceptionDeclarator(Scope *S, Declarator &D) { in ActOnExceptionDeclarator()
16018 Decl *Sema::ActOnStaticAssertDeclaration(SourceLocation StaticAssertLoc, in ActOnStaticAssertDeclaration()
16032 Decl *Sema::BuildStaticAssertDeclaration(SourceLocation StaticAssertLoc, in BuildStaticAssertDeclaration()
16112 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart, in CheckFriendTypeDecl()
16184 Decl *Sema::ActOnTemplatedFriendTag(Scope *S, SourceLocation FriendLoc, in ActOnTemplatedFriendTag()
16318 Decl *Sema::ActOnFriendTypeDecl(Scope *S, const DeclSpec &DS, in ActOnFriendTypeDecl()
16409 NamedDecl *Sema::ActOnFriendFunctionDecl(Scope *S, Declarator &D, in ActOnFriendFunctionDecl()
16726 void Sema::SetDeclDeleted(Decl *Dcl, SourceLocation DelLoc) { in SetDeclDeleted()
16778 void Sema::SetDeclDefaulted(Decl *Dcl, SourceLocation DefaultLoc) { in SetDeclDefaulted()
16865 static void SearchForReturnInStmt(Sema &Self, Stmt *S) { in SearchForReturnInStmt()
16877 void Sema::DiagnoseReturnInConstructorExceptionHandler(CXXTryStmt *TryBlock) { in DiagnoseReturnInConstructorExceptionHandler()
16884 bool Sema::CheckOverridingFunctionAttributes(const CXXMethodDecl *New, in CheckOverridingFunctionAttributes()
16932 bool Sema::CheckOverridingFunctionReturnType(const CXXMethodDecl *New, in CheckOverridingFunctionReturnType()
17043 bool Sema::CheckPureMethod(CXXMethodDecl *Method, SourceRange InitRange) { in CheckPureMethod()
17059 void Sema::ActOnPureSpecifier(Decl *D, SourceLocation ZeroLoc) { in ActOnPureSpecifier()
17084 void Sema::ActOnCXXEnterDeclInitializer(Scope *S, Decl *D) { in ActOnCXXEnterDeclInitializer()
17105 void Sema::ActOnCXXExitDeclInitializer(Scope *S, Decl *D) { in ActOnCXXExitDeclInitializer()
17120 DeclResult Sema::ActOnCXXConditionDeclaration(Scope *S, Declarator &D) { in ActOnCXXConditionDeclaration()
17141 void Sema::LoadExternalVTableUses() { in LoadExternalVTableUses()
17165 void Sema::MarkVTableUsed(SourceLocation Loc, CXXRecordDecl *Class, in MarkVTableUsed()
17227 bool Sema::DefineUsedVTables() { in DefineUsedVTables()
17321 void Sema::MarkVirtualMemberExceptionSpecsNeeded(SourceLocation Loc, in MarkVirtualMemberExceptionSpecsNeeded()
17328 void Sema::MarkVirtualMembersReferenced(SourceLocation Loc, in MarkVirtualMembersReferenced()
17365 void Sema::SetIvarInitializers(ObjCImplementationDecl *ObjCImplementation) { in SetIvarInitializers()
17423 Sema &S) { in DelegatingCycleHelper()
17483 void Sema::CheckDelegatingCtorCycles() { in CheckDelegatingCtorCycles()
17499 Sema &S;
17502 explicit FindCXXThisExpr(Sema &S) : S(S) { } in FindCXXThisExpr()
17512 bool Sema::checkThisInStaticMemberFunctionType(CXXMethodDecl *Method) { in checkThisInStaticMemberFunctionType()
17549 bool Sema::checkThisInStaticMemberFunctionExceptionSpec(CXXMethodDecl *Method) { in checkThisInStaticMemberFunctionExceptionSpec()
17591 bool Sema::checkThisInStaticMemberFunctionAttributes(CXXMethodDecl *Method) { in checkThisInStaticMemberFunctionAttributes()
17638 void Sema::checkExceptionSpecification( in checkExceptionSpecification()
17687 void Sema::actOnDelayedExceptionSpecification(Decl *MethodD, in actOnDelayedExceptionSpecification()
17726 MSPropertyDecl *Sema::HandleMSProperty(Scope *S, RecordDecl *Record, in HandleMSProperty()
17818 void Sema::ActOnStartFunctionDeclarationDeclarator( in ActOnStartFunctionDeclarationDeclarator()
17843 void Sema::ActOnFinishFunctionDeclarationDeclarator(Declarator &Declarator) { in ActOnFinishFunctionDeclarationDeclarator()