Home
last modified time | relevance | path

Searched refs:STC (Results 1 – 25 of 121) sorted by relevance

12345

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dastenums.d42 enum STC : ulong // transfer changes to declaration.h enum
115 safeGroup = STC.safe | STC.trusted | STC.system,
116 IOR = STC.in_ | STC.ref_ | STC.out_,
117 TYPECTOR = (STC.const_ | STC.immutable_ | STC.shared_ | STC.wild),
118 FUNCATTR = (STC.ref_ | STC.nothrow_ | STC.nogc | STC.pure_ | STC.property | STC.live |
124 …(STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.const_ | STC.final_ | STC.abstract_ | ST…
125STC.deprecated_ | STC.future | STC.override_ | STC.lazy_ | STC.alias_ | STC.out_ | STC.in_ | STC.m…
126STC.immutable_ | STC.shared_ | STC.wild | STC.nothrow_ | STC.nogc | STC.pure_ | STC.ref_ | STC.ret…
127 STC.property | STC.safeGroup | STC.disable | STC.local | STC.live),
131 flowThruAggregate = STC.safeGroup, /// for an AggregateDeclaration
[all …]
H A Dclone.d56 StorageClass s2 = (f.storage_class & STC.disable); in mergeFuncAttrs()
60 s2 |= STC.safe; in mergeFuncAttrs()
62 s2 |= STC.system; in mergeFuncAttrs()
64 s2 |= STC.trusted; in mergeFuncAttrs()
67 s2 |= STC.pure_; in mergeFuncAttrs()
69 s2 |= STC.nothrow_; in mergeFuncAttrs()
71 s2 |= STC.nogc; in mergeFuncAttrs()
76 StorageClass stc = (sa & (STC.pure_ | STC.nothrow_ | STC.nogc)) | (so & STC.disable); in mergeFuncAttrs()
78 if (so & STC.system) in mergeFuncAttrs()
79 stc |= STC.system; in mergeFuncAttrs()
[all …]
H A Descape.d335 else if (v.storage_class & STC.variadic && p == sc.func) in checkParamArgumentEscape()
436 if (!(param.storageClass & STC.return_)) in checkParamArgumentReturn()
446 const byRef = param.isReference() && !(param.storageClass & STC.scope_) in checkParamArgumentReturn()
447 …&& !(param.storageClass & STC.returnScope); // fixme: it's possible to infer returnScope without s… in checkParamArgumentReturn()
587 const bool vaIsRef = va && va.storage_class & STC.parameter && in checkAssignEscape()
630 … (va.storage_class & v.storage_class & (STC.maybescope | STC.variadic)) == STC.maybescope && in checkAssignEscape()
640 (v.isScope() || (v.storage_class & STC.maybescope)) && in checkAssignEscape()
641 !(v.storage_class & STC.return_) && in checkAssignEscape()
655 if (vaIsFirstRef && v.isParameter() && v.storage_class & STC.return_) in checkAssignEscape()
664 va.storage_class |= STC.scope_ | STC.scopeinferred; in checkAssignEscape()
[all …]
H A Ddeclaration.d108 auto mustInit = ((var.storage_class & STC.nodefaultctor) != 0 || in modifyFieldVar()
222 StorageClass storage_class = STC.undefined_;
278 if (!(storage_class & STC.disable))
281 if (sc.func && sc.func.storage_class & STC.disable)
330 if (!(ovl.storage_class & STC.disable))
397 if ((storage_class & (STC.foreach_ | STC.ref_)) == (STC.foreach_ | STC.ref_)) in checkModify()
420 return (storage_class & STC.static_) != 0; in isStatic()
451 return (storage_class & STC.final_) != 0; in isFinal()
456 return (storage_class & STC.abstract_) != 0; in isAbstract()
461 return (storage_class & STC.const_) != 0; in isConst()
[all …]
H A Ddsymbolsem.d248 dsym.isDeprecated_ = !!(sc.stc & STC.deprecated_); in visit()
315 dsym.storage_class |= sc.stc & STC.deprecated_; in visit()
377 if ((dsym.storage_class & (STC.foreach_ | STC.local)) == (STC.foreach_ | STC.local)) in visit()
389 …dsym.storage_class |= (sc.stc & ~(STC.synchronized_ | STC.override_ | STC.abstract_ | STC.final_)); in visit()
397 if (dsym.storage_class & STC.extern_ && dsym._init) in visit()
402 dsym.storage_class |= ad.storage_class & STC.TYPECTOR; in visit()
413 bool needctfe = (dsym.storage_class & (STC.manifest | STC.static_)) != 0; in visit()
431 dsym.storage_class &= ~STC.auto_; in visit()
445 sc2.stc |= (dsym.storage_class & STC.FUNCATTR); in visit()
473 if (dsym.storage_class & STC.gshared && !dsym.isMember()) in visit()
[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()
251 if (stc & (STC.const_ | STC.immutable_ | STC.manifest)) in newScope()
252 scstc &= ~(STC.const_ | STC.immutable_ | STC.manifest); in newScope()
253 if (stc & (STC.gshared | STC.shared_)) in newScope()
254 scstc &= ~(STC.gshared | STC.shared_); in newScope()
255 if (stc & (STC.safe | STC.trusted | STC.system)) in newScope()
256 scstc &= ~(STC.safe | STC.trusted | STC.system); in newScope()
[all …]
H A Dparse.d521 s = new AST.UnitTestDeclaration(loc, token.loc, STC.undefined_, null);
584 stc = STC.static_;
592 stc = STC.const_;
598 stc = STC.immutable_;
620 stc = STC.shared_;
626 stc = STC.wild;
630 stc = STC.final_;
634 stc = STC.auto_;
638 stc = STC.scope_;
642 stc = STC.override_;
[all …]
H A Dsemantic3.d263 if (funcdecl.storage_class & STC.inference) in visit()
276 funcdecl.storage_class |= STC.disable; in visit()
331 sc2.stc &= STC.flowThruFunction; in visit()
418 funcdecl.v_arguments.storage_class |= STC.temp | STC.parameter; in visit()
426 _arguments.storage_class |= STC.temp; in visit()
437 funcdecl.v_argptr.storage_class |= STC.temp; in visit()
464 stc |= STC.temp; in visit()
469 stc |= STC.parameter; in visit()
472 stc |= STC.variadic; in visit()
479 stc |= STC.scope_; in visit()
[all …]
H A Ddmangle.d990 if (stc & STC.scopeinferred) in mangleParameter()
991 stc &= ~(STC.scope_ | STC.scopeinferred); in mangleParameter()
992 if (stc & STC.returninferred) in mangleParameter()
993 stc &= ~(STC.return_ | STC.returninferred); in mangleParameter()
997 const isout = (stc & STC.out_) != 0; in mangleParameter()
1013 stc &= ~(STC.out_ | STC.scope_ | STC.ref_ | STC.return_); in mangleParameter()
1017 if (stc & STC.scope_) in mangleParameter()
1020 if (stc & STC.return_) in mangleParameter()
1023 switch (stc & (STC.IOR | STC.lazy_)) in mangleParameter()
1027 case STC.in_: in mangleParameter()
[all …]
H A Dmtype.d243 stc |= STC.immutable_; in ModToStc()
245 stc |= STC.const_; in ModToStc()
247 stc |= STC.wild; in ModToStc()
249 stc |= STC.shared_; in ModToStc()
682 StorageClass stc1 = t1.isScopeQual ? STC.scope_ : 0;
683 StorageClass stc2 = t2.isScopeQual ? STC.scope_ : 0;
686 stc1 |= STC.return_;
688 stc1 |= STC.ref_;
692 stc2 |= STC.return_;
694 stc2 |= STC.ref_;
[all …]
H A Dstatementsem.d715 vinit = copyToTemp(STC.rvalue, "__aggr", fs.aggr); in package()
809 if (p.storageClass & STC.manifest) in package()
813 if (p.storageClass & STC.alias_) in package()
971 if (p.storageClass & STC.ref_) in package()
979 if (p.storageClass & STC.ref_) in package()
994 fs.key.storage_class |= STC.temp | STC.foreach_; in package()
996 fs.key.storage_class |= STC.nodtor; in package()
998 if (p.storageClass & STC.ref_) in package()
1026 fs.value.storage_class |= STC.foreach_; in package()
1027 … fs.value.storage_class |= p.storageClass & (STC.scope_ | STC.IOR | STC.TYPECTOR); in package()
[all …]
H A Dimportc.d185 if (!(dsym.storage_class & (STC.static_ | STC.gshared))) in addDefaultCInitializer()
187 …if (dsym.storage_class & (STC.extern_ | STC.field | STC.in_ | STC.foreach_ | STC.parameter | STC.r… in addDefaultCInitializer()
H A Dhdrgen.d259 stc = STC.auto_; in visit()
410 stc = STC.auto_; in visit()
1443 if (d.storage_class & STC.local) in visit()
1488 if (d.storage_class & STC.local) in visit()
1533 if (!tf.next || f.storage_class & STC.auto_) in visit()
1725 if (stcToBuffer(buf, d.storage_class & ~STC.static_)) in visit()
1741 if (stcToBuffer(buf, d.storage_class & ~STC.static_)) in visit()
1800 if (stcToBuffer(buf, d.storage_class & ~STC.static_)) in visit()
2263 if (!ve || !(ve.var.storage_class & STC.temp)) in expressionPrettyPrint()
2836 if (stc & STC.scopeinferred) in stcToBuffer()
[all …]
H A Dfunc.d368 this.storage_class &= ~(STC.TYPECTOR | STC.FUNCATTR);
450 if (storage_class & STC.inference) in functionSemantic()
545 vthis.storage_class |= STC.parameter | STC.nodtor; in declareThis()
551 vthis.storage_class |= STC.parameter; in declareThis()
554 vthis.storage_class |= STC.ref_; in declareThis()
561 vthis.storage_class |= STC.return_; in declareThis()
563 vthis.storage_class |= STC.scope_; in declareThis()
565 vthis.storage_class |= STC.returnScope; in declareThis()
567 if (flags & FUNCFLAG.inferScope && !(vthis.storage_class & STC.scope_)) in declareThis()
568 vthis.storage_class |= STC.maybescope; in declareThis()
[all …]
H A Dtypesem.d225 if (d && (d.storage_class & STC.templateparameter))
317 if (v.storage_class & (STC.const_ | STC.immutable_ | STC.manifest) ||
1185 if (sc.stc & STC.pure_) in typeSemantic()
1187 if (sc.stc & STC.nothrow_) in typeSemantic()
1189 if (sc.stc & STC.nogc) in typeSemantic()
1191 if (sc.stc & STC.ref_) in typeSemantic()
1193 if (sc.stc & STC.return_) in typeSemantic()
1195 if (sc.stc & STC.returnScope) in typeSemantic()
1197 if (sc.stc & STC.returninferred) in typeSemantic()
1199 if (sc.stc & STC.scope_) in typeSemantic()
[all …]
H A Daggregate.d169 sc2.stc &= STC.flowThruAggregate; in newScope()
464 if ((vx.storage_class & STC.nodefaultctor) && !ctorinit) in fill()
608 return !!(this.storage_class & STC.deprecated_); in isDeprecated()
614 this.storage_class |= STC.deprecated_; in setDeprecated()
636 if (storage_class & STC.static_) in makeNested()
686 vthis.storage_class |= STC.field; in makeNested()
713 if (storage_class & STC.static_) in makeNested2()
730 vthis2.storage_class |= STC.field; in makeNested2()
H A Dsideeffect.d259 if (v && (v.storage_class & STC.temp)) in discardValue()
381 vd.storage_class = stc | STC.temp | STC.ctfe; // temporary is always CTFEable in copyToTemp()
415 vd.storage_class |= e.isLvalue() ? STC.ref_ : STC.rvalue;
H A Ddsymbol.d1734 Parameters* p = new Parameter(STC.in_, Type.tchar.constOf().arrayOf(), null, null); in findGetMembers()
1949 v.storage_class |= STC.temp | STC.static_ | STC.const_; in dollarFromTypeTuple()
1963 v.storage_class |= STC.temp | STC.static_ | STC.const_;
2026 v.storage_class |= STC.temp | STC.static_ | STC.const_;
2084 v.storage_class |= STC.temp | STC.ctfe | STC.rvalue;
2096 v.storage_class |= STC.temp | STC.ctfe; // it's never a true static variable
2176 if (d.storage_class & STC.local) in symtabInsert()
2208 if (d.storage_class & STC.local) in symtabLookup()
2516 if ((vd.storage_class ^ vd2.storage_class) & STC.static_) in handleSymbolRedeclarations()
2527 vd2.storage_class |= STC.extern_; // so toObjFile() won't emit it in handleSymbolRedeclarations()
[all …]
H A Dtraits.d440 sc.stc |= STC.deprecated_; in semanticTraits()
591 ((cast(TypeClass)t.toBasetype()).sym.storage_class & STC.final_) != 0); in semanticTraits()
777 return isDeclX(d => (d.storage_class & STC.lazy_) != 0); in semanticTraits()
1465 stc &= ~STC.shared_; in semanticTraits()
1474 if (stc & STC.auto_) in semanticTraits()
1476 if (stc & STC.return_) in semanticTraits()
1479 if (stc & STC.out_) in semanticTraits()
1481 else if (stc & STC.in_) in semanticTraits()
1483 else if (stc & STC.ref_) in semanticTraits()
1485 else if (stc & STC.lazy_) in semanticTraits()
[all …]
H A Dcanthrow.d246 if (vd.storage_class & STC.manifest) in Dsymbol_canThrow()
249 else if (vd.isStatic() || vd.storage_class & (STC.extern_ | STC.gshared)) in Dsymbol_canThrow()
H A Ddtemplate.d221 if (v.storage_class & STC.manifest) in getValue()
239 if (v.storage_class & STC.manifest) in getValue()
855 … fparam.storageClass &= (STC.IOR | STC.lazy_ | STC.final_ | STC.TYPECTOR | STC.nodtor); in evaluateConstraint()
856 fparam.storageClass |= STC.parameter; in evaluateConstraint()
859 fparam.storageClass |= STC.variadic; in evaluateConstraint()
871 fparam.storageClass |= STC.parameter; in evaluateConstraint()
882 fd.storage_class |= STC.static_; in evaluateConstraint()
1378 paramscope.stc |= fd.storage_class & STC.deprecated_; in deduceFunctionTemplateMatch()
1514 if (toParent().isModule() || (_scope.stc & STC.static_)) in deduceFunctionTemplateMatch()
1549 if (stc & STC.immutable_) in deduceFunctionTemplateMatch()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp58 const StackFrameContext *STC = LCtx->getStackFrame(); in getWidenedLoopState() local
60 const MemRegion *Regions[] = {MRMgr.getStackLocalsRegion(STC), in getWidenedLoopState()
61 MRMgr.getStackArgumentsRegion(STC), in getWidenedLoopState()
87 const CXXMethodDecl *CXXMD = dyn_cast<CXXMethodDecl>(STC->getDecl()); in getWidenedLoopState()
90 MRMgr.getCXXThisRegion(CXXMD->getThisType(), STC); in getWidenedLoopState()
H A DMemRegion.cpp815 MemRegionManager::getStackLocalsRegion(const StackFrameContext *STC) { in getStackLocalsRegion() argument
816 assert(STC); in getStackLocalsRegion()
817 StackLocalsSpaceRegion *&R = StackLocalsSpaceRegions[STC]; in getStackLocalsRegion()
823 new (R) StackLocalsSpaceRegion(*this, STC); in getStackLocalsRegion()
828 MemRegionManager::getStackArgumentsRegion(const StackFrameContext *STC) { in getStackArgumentsRegion() argument
829 assert(STC); in getStackArgumentsRegion()
830 StackArgumentsSpaceRegion *&R = StackArgumentsSpaceRegions[STC]; in getStackArgumentsRegion()
836 new (R) StackArgumentsSpaceRegion(*this, STC); in getStackArgumentsRegion()
981 const auto *STC = V.get<const StackFrameContext *>(); in getVarRegion() local
983 if (!STC) { in getVarRegion()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/
H A Darm_acle_builtins.def33 VAR1 (STC, stc, void)
34 VAR1 (STC, stc2, void)
35 VAR1 (STC, stcl, void)
36 VAR1 (STC, stc2l, void)
/netbsd-src/external/gpl3/gcc/dist/gcc/config/arm/
H A Darm_acle_builtins.def33 VAR1 (STC, stc, void)
34 VAR1 (STC, stc2, void)
35 VAR1 (STC, stcl, void)
36 VAR1 (STC, stc2l, void)

12345