@@ -7257,10 +7257,6 @@ struct Scope final
72577257 ForeachStatement* fes;
72587258 Scope* callsc;
72597259 Dsymbol* inunion;
7260- bool nofree;
7261- bool inLoop;
7262- bool inDefaultArg;
7263- int32_t intypeof;
72647260 VarDeclaration* lastVar;
72657261 ErrorSink* eSink;
72667262 Module* minst;
@@ -7272,7 +7268,6 @@ struct Scope final
72727268 CPPMANGLE cppmangle;
72737269 PragmaDeclaration* inlining;
72747270 Visibility visibility;
7275- int32_t explicitVisibility;
72767271 STC stc;
72777272 DeprecatedDeclaration* depdecl;
72787273 bool ctor () const ;
@@ -7303,7 +7298,18 @@ struct Scope final
73037298 bool ctfeBlock (bool v);
73047299private:
73057300 uint16_t bitFields;
7306- public:
7301+ uint16_t bitFields2;
7302+ public:
7303+ uint8_t intypeof () const ;
7304+ uint8_t intypeof (uint8_t v);
7305+ bool nofree () const ;
7306+ bool nofree (bool v);
7307+ bool inLoop () const ;
7308+ bool inLoop (bool v);
7309+ bool inDefaultArg () const ;
7310+ bool inDefaultArg (bool v);
7311+ bool explicitVisibility () const ;
7312+ bool explicitVisibility (bool v);
73077313 Previews previews;
73087314 UserAttributeDeclaration* userAttribDecl;
73097315 DocComment* lastdc;
@@ -7329,10 +7335,6 @@ struct Scope final
73297335 fes(),
73307336 callsc(),
73317337 inunion(),
7332- nofree(),
7333- inLoop(),
7334- inDefaultArg(),
7335- intypeof(),
73367338 lastVar(),
73377339 eSink(),
73387340 minst(),
@@ -7344,9 +7346,9 @@ struct Scope final
73447346 cppmangle((CPPMANGLE)0u),
73457347 inlining(),
73467348 visibility(Visibility((Visibility::Kind)5u, nullptr)),
7347- explicitVisibility(),
73487349 depdecl(),
73497350 bitFields(0u ),
7351+ bitFields2(),
73507352 previews(),
73517353 userAttribDecl(),
73527354 lastdc(),
@@ -7355,7 +7357,7 @@ struct Scope final
73557357 argStruct()
73567358 {
73577359 }
7358- Scope(Scope* enclosing, Module* _module = nullptr, ScopeDsymbol* scopesym = nullptr, FuncDeclaration* func = nullptr, VarDeclaration* varDecl = nullptr, Dsymbol* parent = nullptr, LabelStatement* slabel = nullptr, SwitchStatement* switchStatement = nullptr, Statement* tryBody = nullptr, TryFinallyStatement* tryFinally = nullptr, ScopeGuardStatement* scopeGuard = nullptr, Statement* sbreak = nullptr, Statement* scontinue = nullptr, ForeachStatement* fes = nullptr, Scope* callsc = nullptr, Dsymbol* inunion = nullptr, bool nofree = false, bool inLoop = false, bool inDefaultArg = false, int32_t intypeof = 0, VarDeclaration* lastVar = nullptr, ErrorSink* eSink = nullptr, Module* minst = nullptr, TemplateInstance* tinst = nullptr, CtorFlow ctorflow = CtorFlow(), AlignDeclaration* aligndecl = nullptr, CPPNamespaceDeclaration* namespace_ = nullptr, LINK linkage = (LINK)1u, CPPMANGLE cppmangle = (CPPMANGLE)0u, PragmaDeclaration* inlining = nullptr, Visibility visibility = Visibility((Visibility::Kind)5u, nullptr), int32_t explicitVisibility = 0, STC stc = (STC)0LLU, DeprecatedDeclaration* depdecl = nullptr, uint16_t bitFields = 0u, Previews previews = Previews(), UserAttributeDeclaration* userAttribDecl = nullptr, DocComment* lastdc = nullptr, void* anchorCounts = nullptr, Identifier* prevAnchor = nullptr, AliasDeclaration* aliasAsg = nullptr, StructDeclaration* argStruct = nullptr) :
7360+ Scope(Scope* enclosing, Module* _module = nullptr, ScopeDsymbol* scopesym = nullptr, FuncDeclaration* func = nullptr, VarDeclaration* varDecl = nullptr, Dsymbol* parent = nullptr, LabelStatement* slabel = nullptr, SwitchStatement* switchStatement = nullptr, Statement* tryBody = nullptr, TryFinallyStatement* tryFinally = nullptr, ScopeGuardStatement* scopeGuard = nullptr, Statement* sbreak = nullptr, Statement* scontinue = nullptr, ForeachStatement* fes = nullptr, Scope* callsc = nullptr, Dsymbol* inunion = nullptr, VarDeclaration* lastVar = nullptr, ErrorSink* eSink = nullptr, Module* minst = nullptr, TemplateInstance* tinst = nullptr, CtorFlow ctorflow = CtorFlow(), AlignDeclaration* aligndecl = nullptr, CPPNamespaceDeclaration* namespace_ = nullptr, LINK linkage = (LINK)1u, CPPMANGLE cppmangle = (CPPMANGLE)0u, PragmaDeclaration* inlining = nullptr, Visibility visibility = Visibility((Visibility::Kind)5u, nullptr), STC stc = (STC)0LLU, DeprecatedDeclaration* depdecl = nullptr, uint16_t bitFields = 0u, uint16_t bitFields2 = 0u, Previews previews = Previews(), UserAttributeDeclaration* userAttribDecl = nullptr, DocComment* lastdc = nullptr, void* anchorCounts = nullptr, Identifier* prevAnchor = nullptr, AliasDeclaration* aliasAsg = nullptr, StructDeclaration* argStruct = nullptr) :
73597361 enclosing (enclosing),
73607362 _module (_module),
73617363 scopesym (scopesym),
@@ -7372,10 +7374,6 @@ struct Scope final
73727374 fes(fes),
73737375 callsc(callsc),
73747376 inunion(inunion),
7375- nofree(nofree),
7376- inLoop(inLoop),
7377- inDefaultArg(inDefaultArg),
7378- intypeof(intypeof),
73797377 lastVar(lastVar),
73807378 eSink(eSink),
73817379 minst(minst),
@@ -7387,10 +7385,10 @@ struct Scope final
73877385 cppmangle(cppmangle),
73887386 inlining(inlining),
73897387 visibility(visibility),
7390- explicitVisibility(explicitVisibility),
73917388 stc(stc),
73927389 depdecl(depdecl),
73937390 bitFields(bitFields),
7391+ bitFields2(bitFields2),
73947392 previews(previews),
73957393 userAttribDecl(userAttribDecl),
73967394 lastdc(lastdc),
0 commit comments