Lines Matching refs:stc
84 extern (D) static Scope* createNewScope(Scope* sc, StorageClass stc, LINK linkage,
89 if (stc != sc.stc ||
99 sc2.stc = stc;
223 * <stc> <decl...>
227 StorageClass stc;
229 extern (D) this(StorageClass stc, Dsymbols* decl)
232 this.stc = stc;
238 return new StorageClassDeclaration(stc, Dsymbol.arraySyntaxCopy(decl));
243 StorageClass scstc = sc.stc;
247 if (stc & (STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.manifest))
248 scstc &= ~(STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.manifest);
249 if (stc & (STC.auto_ | STC.scope_ | STC.static_ | STC.manifest | STC.gshared))
250 scstc &= ~(STC.auto_ | STC.scope_ | STC.static_ | STC.manifest | STC.gshared);
251 if (stc & (STC.const_ | STC.immutable_ | STC.manifest))
252 scstc &= ~(STC.const_ | STC.immutable_ | STC.manifest);
253 if (stc & (STC.gshared | STC.shared_))
254 scstc &= ~(STC.gshared | STC.shared_);
255 if (stc & (STC.safe | STC.trusted | STC.system))
256 scstc &= ~(STC.safe | STC.trusted | STC.system);
257 scstc |= stc;
284 fd.storage_class2 |= stc;
300 // STC.local needs to be attached before the member is added to the scope (because it influences the parent symbol)
303 decl.storage_class |= stc & STC.local;
306 sdecl.stc |= stc & STC.local;
333 * StorageClassDeclaration with STC.deprecated_)
344 super(STC.deprecated_, decl);
355 * Provides a new scope with `STC.deprecated_` and `Scope.depdecl` set
417 return createNewScope(sc, sc.stc, this.linkage, sc.cppmangle, sc.visibility, sc.explicitVisibility,
464 return createNewScope(sc, sc.stc, LINK.cpp, cppmangle, sc.visibility, sc.explicitVisibility,
632 return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, this.visibility, 1, sc.aligndecl, sc.inlining);
736 return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, sc.visibility, sc.explicitVisibility, this, sc.inlining);
895 return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, sc.visibility, sc.explicitVisibility, sc.aligndecl, this);
1257 * { // this body is expanded into 10 ForwardingAttribDeclarations, where `i` has storage class STC.local