@@ -3546,10 +3546,12 @@ class Sema final : public SemaBase {
35463546 /// a C++0x [dcl.typedef]p2 alias-declaration: 'using T = A;'.
35473547 NamedDecl *ActOnTypedefNameDecl(Scope *S, DeclContext *DC, TypedefNameDecl *D,
35483548 LookupResult &Previous, bool &Redeclaration);
3549- NamedDecl *ActOnVariableDeclarator(
3550- Scope *S, Declarator &D, DeclContext *DC, TypeSourceInfo *TInfo,
3551- LookupResult &Previous, MultiTemplateParamsArg TemplateParamLists,
3552- bool &AddToScope, ArrayRef<BindingDecl *> Bindings = {});
3549+ NamedDecl *ActOnVariableDeclarator(Scope *S, Declarator &D, DeclContext *DC,
3550+ TypeSourceInfo *TInfo,
3551+ LookupResult &Previous,
3552+ MultiTemplateParamsArg TemplateParamLists,
3553+ bool &AddToScope,
3554+ ArrayRef<BindingDecl *> Bindings = {});
35533555
35543556 /// Perform semantic checking on a newly-created variable
35553557 /// declaration.
@@ -5391,9 +5393,8 @@ class Sema final : public SemaBase {
53915393 bool SetDelegatingInitializer(CXXConstructorDecl *Constructor,
53925394 CXXCtorInitializer *Initializer);
53935395
5394- bool SetCtorInitializers(
5395- CXXConstructorDecl *Constructor, bool AnyErrors,
5396- ArrayRef<CXXCtorInitializer *> Initializers = {});
5396+ bool SetCtorInitializers(CXXConstructorDecl *Constructor, bool AnyErrors,
5397+ ArrayRef<CXXCtorInitializer *> Initializers = {});
53975398
53985399 /// MarkBaseAndMemberDestructorsReferenced - Given a record decl,
53995400 /// mark all the non-trivial destructors of its members and bases as
@@ -6689,9 +6690,9 @@ class Sema final : public SemaBase {
66896690 /// \param SkipLocalVariables If true, don't mark local variables as
66906691 /// 'referenced'.
66916692 /// \param StopAt Subexpressions that we shouldn't recurse into.
6692- void MarkDeclarationsReferencedInExpr(
6693- Expr *E, bool SkipLocalVariables = false,
6694- ArrayRef<const Expr *> StopAt = {});
6693+ void MarkDeclarationsReferencedInExpr(Expr *E,
6694+ bool SkipLocalVariables = false,
6695+ ArrayRef<const Expr *> StopAt = {});
66956696
66966697 /// Try to convert an expression \p E to type \p Ty. Returns the result of the
66976698 /// conversion.
@@ -10189,15 +10190,17 @@ class Sema final : public SemaBase {
1018910190 /// \param PartialOverloading true if we are performing "partial" overloading
1019010191 /// based on an incomplete set of function arguments. This feature is used by
1019110192 /// code completion.
10192- void AddOverloadCandidate(
10193- FunctionDecl *Function, DeclAccessPair FoundDecl, ArrayRef<Expr *> Args,
10194- OverloadCandidateSet &CandidateSet, bool SuppressUserConversions = false,
10195- bool PartialOverloading = false, bool AllowExplicit = true,
10196- bool AllowExplicitConversion = false,
10197- ADLCallKind IsADLCandidate = ADLCallKind::NotADL,
10198- ConversionSequenceList EarlyConversions = {},
10199- OverloadCandidateParamOrder PO = {},
10200- bool AggregateCandidateDeduction = false);
10193+ void AddOverloadCandidate(FunctionDecl *Function, DeclAccessPair FoundDecl,
10194+ ArrayRef<Expr *> Args,
10195+ OverloadCandidateSet &CandidateSet,
10196+ bool SuppressUserConversions = false,
10197+ bool PartialOverloading = false,
10198+ bool AllowExplicit = true,
10199+ bool AllowExplicitConversion = false,
10200+ ADLCallKind IsADLCandidate = ADLCallKind::NotADL,
10201+ ConversionSequenceList EarlyConversions = {},
10202+ OverloadCandidateParamOrder PO = {},
10203+ bool AggregateCandidateDeduction = false);
1020110204
1020210205 /// Add all of the function declarations in the given function set to
1020310206 /// the overload candidate set.
@@ -10224,15 +10227,15 @@ class Sema final : public SemaBase {
1022410227 /// both @c a1 and @c a2. If @p SuppressUserConversions, then don't
1022510228 /// allow user-defined conversions via constructors or conversion
1022610229 /// operators.
10227- void
10228- AddMethodCandidate(CXXMethodDecl *Method, DeclAccessPair FoundDecl ,
10229- CXXRecordDecl *ActingContext, QualType ObjectType ,
10230- Expr::Classification ObjectClassification ,
10231- ArrayRef<Expr *> Args, OverloadCandidateSet &CandidateSet,
10232- bool SuppressUserConversions = false,
10233- bool PartialOverloading = false,
10234- ConversionSequenceList EarlyConversions = {},
10235- OverloadCandidateParamOrder PO = {});
10230+ void AddMethodCandidate(CXXMethodDecl *Method, DeclAccessPair FoundDecl,
10231+ CXXRecordDecl *ActingContext, QualType ObjectType ,
10232+ Expr::Classification ObjectClassification ,
10233+ ArrayRef< Expr *> Args ,
10234+ OverloadCandidateSet &CandidateSet,
10235+ bool SuppressUserConversions = false,
10236+ bool PartialOverloading = false,
10237+ ConversionSequenceList EarlyConversions = {},
10238+ OverloadCandidateParamOrder PO = {});
1023610239
1023710240 /// Add a C++ member function template as a candidate to the candidate
1023810241 /// set, using template argument deduction to produce an appropriate member
@@ -13031,12 +13034,13 @@ class Sema final : public SemaBase {
1303113034 bool CheckInstantiationDepth(SourceLocation PointOfInstantiation,
1303213035 SourceRange InstantiationRange);
1303313036
13034- InstantiatingTemplate(
13035- Sema &SemaRef, CodeSynthesisContext::SynthesisKind Kind,
13036- SourceLocation PointOfInstantiation, SourceRange InstantiationRange,
13037- Decl *Entity, NamedDecl *Template = nullptr,
13038- ArrayRef<TemplateArgument> TemplateArgs = {},
13039- sema::TemplateDeductionInfo *DeductionInfo = nullptr);
13037+ InstantiatingTemplate(Sema &SemaRef,
13038+ CodeSynthesisContext::SynthesisKind Kind,
13039+ SourceLocation PointOfInstantiation,
13040+ SourceRange InstantiationRange, Decl *Entity,
13041+ NamedDecl *Template = nullptr,
13042+ ArrayRef<TemplateArgument> TemplateArgs = {},
13043+ sema::TemplateDeductionInfo *DeductionInfo = nullptr);
1304013044
1304113045 InstantiatingTemplate(const InstantiatingTemplate &) = delete;
1304213046
0 commit comments