Home
last modified time | relevance | path

Searched refs:scope_ (Results 1 – 25 of 30) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dastenums.d69 scope_ = 0x8_0000, /// `scope` enumerator
124 …(STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.const_ | STC.final_ | STC.abstract_ | ST…
132 …flowThruFunction = ~(STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.abstract_ | STC.depr…
150 return (stc & (STC.scope_ | STC.return_)) == (STC.scope_ | STC.return_) && in isRefReturnScope()
157 (STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.const_ | STC.final_ |
H A Descape.d446 const byRef = param.isReference() && !(param.storageClass & STC.scope_) in checkParamArgumentReturn()
664 va.storage_class |= STC.scope_ | STC.scopeinferred; in checkAssignEscape()
697 va.storage_class |= STC.scope_ | STC.scopeinferred; in checkAssignEscape()
730 va.storage_class |= STC.scope_ | STC.scopeinferred; in checkAssignEscape()
815 va.storage_class |= STC.scope_ | STC.scopeinferred; in checkAssignEscape()
918 va.storage_class |= STC.scope_ | STC.scopeinferred; in checkAssignEscape()
1762 stc |= STC.scope_; in visit()
1790 … StorageClass stc = dve.var.storage_class & (STC.return_ | STC.scope_ | STC.ref_); in visit()
2038 … StorageClass stc = dve.var.storage_class & (STC.return_ | STC.scope_ | STC.ref_); in visit()
2044 stc |= STC.scope_; in visit()
[all …]
H A Dparse.d637 case TOK.scope_:
638 stc = STC.scope_;
1204 const Redundant = (STC.const_ | STC.scope_ | in appendStorageClass()
1215 (orig & STC.scope_) ? "scope".ptr : "ref".ptr); in appendStorageClass()
1229 const(char*) stc_str = (orig & STC.scope_) ? "scope".ptr : "ref".ptr; in appendStorageClass()
1337 if (peekNext() == TOK.scope_)
1341 case TOK.scope_:
1342 stc = STC.scope_;
2731 …enum VarArgsStc = STC.const_ | STC.immutable_ | STC.shared_ | STC.scope_ | STC.return_ | STC.retur…
2825 case TOK.scope_:
[all …]
H A Dtokens.h219 scope_, enumerator
414 scope_, enumerator
H A Dtokens.d210 scope_, enumerator
404 scope_,
511 TOK.scope_,
717 TOK.scope_: "scope",
H A Dmtype.d682 StorageClass stc1 = t1.isScopeQual ? STC.scope_ : 0;
683 StorageClass stc2 = t2.isScopeQual ? STC.scope_ : 0;
4258 if (stc & STC.scope_)
4383 return stc | STC.scope_; in parameterStorageClass()
4385 if (stc & (STC.scope_ | STC.return_ | STC.lazy_) || purity == PURE.impure) in parameterStorageClass()
4444 return stc | STC.scope_ | STC.return_ | STC.returnScope; in parameterStorageClass()
4446 return stc | STC.scope_; in parameterStorageClass()
4456 (stc & STC.scope_ && !t.isScopeQual) || in addStorageClass()
4486 if (stc & STC.scope_) in addStorageClass()
5163 if(stc & STC.scope_) in addStorageClass()
[all …]
H A Dsemantic3.d479 stc |= STC.scope_; in visit()
483 … if ((funcdecl.flags & FUNCFLAG.inferScope) && !(fparam.storageClass & STC.scope_)) in visit()
486 …stc |= fparam.storageClass & (STC.IOR | STC.return_ | STC.scope_ | STC.lazy_ | STC.final_ | STC.TY… in visit()
1330 v.storage_class |= STC.scope_ | STC.scopeinferred; in visit()
1331 p.storageClass |= STC.scope_ | STC.scopeinferred; in visit()
1340 funcdecl.vthis.storage_class |= STC.scope_ | STC.scopeinferred; in visit()
H A Dcparse.d162 if (flags & ParseStatementFlags.scope_)
167 if (!(flags & (ParseStatementFlags.scope_ | ParseStatementFlags.curlyScope)))
189 s = cparseStatement(ParseStatementFlags.curly | ParseStatementFlags.scope_);
335 if (flags & ParseStatementFlags.scope_)
373 if (flags & (ParseStatementFlags.scope_ | ParseStatementFlags.curlyScope))
386 auto _body = cparseStatement(ParseStatementFlags.scope_, null, &endloc);
401 auto _body = cparseStatement(ParseStatementFlags.scope_);
449 auto _body = cparseStatement(ParseStatementFlags.scope_, null, &endloc);
460 auto ifbody = cparseStatement(ParseStatementFlags.scope_);
465 elsebody = cparseStatement(ParseStatementFlags.scope_);
[all …]
H A Dattrib.d247 if (stc & (STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.manifest)) in newScope()
248 scstc &= ~(STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.manifest); in newScope()
249 if (stc & (STC.auto_ | STC.scope_ | STC.static_ | STC.manifest | STC.gshared)) in newScope()
250 scstc &= ~(STC.auto_ | STC.scope_ | STC.static_ | STC.manifest | STC.gshared); in newScope()
H A Ddmangle.d991 stc &= ~(STC.scope_ | STC.scopeinferred); in mangleParameter()
1013 stc &= ~(STC.out_ | STC.scope_ | STC.ref_ | STC.return_); in mangleParameter()
1017 if (stc & STC.scope_) in mangleParameter()
H A Dtypesem.d1199 if (sc.stc & STC.scope_) in typeSemantic()
1454 if (!(fparam.storageClass & STC.scope_)) in typeSemantic()
1455 … fparam.storageClass |= STC.scope_ | STC.scopeinferred; // 'return' implies 'scope' in typeSemantic()
1511 fparam.storageClass &= ~STC.scope_; in typeSemantic()
1517 fparam.storageClass &= ~(STC.return_ | STC.scope_ | STC.returnScope); in typeSemantic()
1842 case EXP.scope_: in typeSemantic()
2378 Expression getProperty(Type t, Scope* scope_, const ref Loc loc, Identifier ident, int flag) in getProperty() argument
2442 if (s && !symbolIsVisible(scope_, s)) in getProperty()
2456 if (auto dsym = mt.toDsymbol(scope_)) in getProperty()
2737 e = mt.toBasetype().getProperty(scope_, loc, ident, flag); in getProperty()
[all …]
H A Ddsymbolsem.d708 dsym.storage_class |= STC.scope_; in visit()
710 if (dsym.storage_class & STC.scope_) in visit()
725 dsym.storage_class &= ~STC.scope_; // silently ignore; may occur in generic code in visit()
845 if (!(dsym.storage_class & STC.scope_)) in visit()
1081 … if (ei && (ei.exp.op != EXP.scope_ ? true : !ei.exp.isScopeExp().sds.isPackage())) in visit()
1455 sc.stc &= ~(STC.auto_ | STC.scope_ | STC.static_ | STC.gshared); in visit()
2123 if (sc.stc & STC.scope_) in visit()
3144 sc.stc |= STC.scope_; in funcDeclarationSemantic()
3179 sc.stc |= STC.scope_; in funcDeclarationSemantic()
3182 if (sc.stc & STC.scope_ && ad && ad.isStructDeclaration() && !ad.type.hasPointers()) in funcDeclarationSemantic()
[all …]
H A Dforeachvar.d214 if (s.exp.op == EXP.scope_ || s.exp.op == EXP.type) in foreachExpAndVar()
H A Dclone.d323 swap.storage_class |= STC.scope_; in buildOpAssign()
652 case EXP.scope_: in buildXopCmp()
1413 dd.storage_class |= STC.inference | STC.scope_; in buildPostBlit()
1507 …fparams.push(new Parameter(paramStc | STC.ref_ | STC.return_ | STC.scope_, structType, Id.p, null,… in generateCopyCtorDeclaration()
H A Dstatementsem.d1027 … fs.value.storage_class |= p.storageClass & (STC.scope_ | STC.IOR | STC.TYPECTOR); in package()
1078 tmp.storage_class |= STC.scope_; in package()
1287 ve.storage_class |= p.storageClass & (STC.scope_ | STC.IOR | STC.TYPECTOR); in package()
1622 StorageClass stc = STC.ref_ | (p.storageClass & STC.scope_); in package()
1631 stc = (prm.storageClass & STC.ref_) | (p.storageClass & STC.scope_); in package()
1658 v.storage_class |= STC.temp | (stc & STC.scope_); in package()
3461 if (ws.exp.op == EXP.scope_) in package()
4065 stc |= STC.scope_; in catchSemantic()
4080 if (global.params.ehnogc && stc & STC.scope_) in catchSemantic()
4400 else if (e.op == EXP.scope_) in makeTupleForeach()
H A Dob.d1474 else if (p.storageClass & STC.scope_) in genKill()
1508 if (tf.parameterList.stc & STC.scope_) in genKill()
2180 else if (p.storageClass & STC.scope_) in checkObErrors()
2218 if (tf.parameterList.stc & STC.scope_) in checkObErrors()
H A Dhdrgen.d2570 case EXP.scope_: return visitScope(e.isScopeExp()); in expressionPrettyPrint()
2839 stc &= ~(STC.scope_ | STC.scopeinferred); in stcToBuffer()
2868 stc &= ~(STC.out_ | STC.scope_ | STC.ref_ | STC.return_); in stcToBuffer()
2904 SCstring(STC.scope_, Token.toString(TOK.scope_)), in stcToString()
3203 …STC.return_ | STC.returninferred | STC.scope_ | STC.scopeinferred | STC.out_ | STC.ref_ | STC.retu… in parameterToBuffer()
4014 EXP.scope_ : "scope", in EXPtoString()
H A Ddeclaration.d481 return (storage_class & STC.scope_) != 0; in isScope()
1479 if (storage_class & (STC.auto_ | STC.scope_) && !(storage_class & STC.parameter)) in callScopeDtor()
H A Dfunc.d563 vthis.storage_class |= STC.scope_; in declareThis()
567 if (flags & FUNCFLAG.inferScope && !(vthis.storage_class & STC.scope_)) in declareThis()
H A Dexpressionsem.d2043 else if (!(pStc & (STC.scope_ | STC.lazy_))) in functionParameters()
2323 (parameter ? parameter.storageClass : tf.parameterList.stc) & (STC.scope_), in functionParameters()
6860 else if (exp.e1.op == EXP.scope_) in visit()
6914 ve2.var.storage_class |= STC.scope_; in visit()
9969 auto vd = copyToTemp(STC.scope_, "__setctor", ae.e2); in visit()
11361 if (e2x.op == EXP.type || e2x.op == EXP.scope_) in visit()
12280 case EXP.scope_: return dotMangleof(exp.loc, sc, exp.e1.isScopeExp().sds); in semanticX()
13022 if (exp.type.hasPointers() && v.storage_class & STC.scope_ && in checkAddressVar()
H A Ddtemplate.d2285 else if (ea && ea.op == EXP.scope_) in declareParameter()
6705 if (ea.op == EXP.scope_) in semanticTiargs()
7578 if (e.op == EXP.tuple || e.op == EXP.scope_ || in definitelyValueParameter()
8113 else if (ea && ea.op == EXP.scope_) in matchArg()
H A Dtraits.d1498 if (stc & STC.scope_ && !(stc & STC.scopeinferred)) in semanticTraits()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/
H A Dtipc.d55 byte scope_; variable
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dtraits.d201 pstc |= ParameterStorageClass.scope_;
242 'l': FunctionAttribute.scope_
628 psc & PSC.scope_ ? "scope " : "", in fqnType()
1036 scope_ = 1, /// ditto enumerator
1104 case "scope": result |= scope_; break; in extractParameterStorageClassFlags()
1131 static assert(test_pstc[0] == STC.scope_);
1407 scope_ = 1 << 13, /// ditto
1568 case "scope": res |= scope_; break;
2282 & ~FA.shared_ & ~FA.system & ~FA.return_ & ~FA.scope_;
4951 ((uprStc & STC.scope_) >= (lwrStc & STC.scope_)) &&
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dtraits.d718 psc & PSC.scope_ ? "scope " : "", in fqnType()
1140 scope_ = 0x10, /// ditto enumerator
1190 static assert(pstc[2] == STC.scope_); in version()
1215 case "scope": result |= scope_; break; in extractParameterStorageClassFlags()
1265 static assert(test_pstc[0] == STC.scope_);
1571 scope_ = 1 << 13, /// ditto
1736 case "scope": res |= scope_; break;
2487 & ~FA.shared_ & ~FA.system & ~FA.return_ & ~FA.scope_;
5557 ((uprStc & STC.scope_) >= (lwrStc & STC.scope_)) &&

12