Home
last modified time | relevance | path

Searched refs:SCOPE (Results 1 – 25 of 58) sorted by relevance

123

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddscope.d47 enum SCOPE enum
75 SCOPE.contract | SCOPE.debug_ | SCOPE.ctfe | SCOPE.compile | SCOPE.constraint |
76 SCOPE.noaccesscheck | SCOPE.ignoresymbolvisibility |
77 SCOPE.printf | SCOPE.scanf | SCOPE.Cfile;
156 assert(s.flags & SCOPE.free); in alloc()
157 s.flags &= ~SCOPE.free; in alloc()
178 sc.flags |= SCOPE.Cfile; in createGlobal()
200 assert(!(flags & SCOPE.free)); in push()
206 assert(!(enclosing.flags & SCOPE.free)); in push()
244 flags |= SCOPE.free; in pop()
[all …]
H A Dimportc.d42 if (!(sc.flags & SCOPE.Cfile)) in cAdjustParamType()
78 if (!(sc.flags & SCOPE.Cfile)) in arrayFuncConv()
147 if (!(sc.flags & SCOPE.Cfile)) in carraySemantic()
H A Dnogc.d210 if (e && e.op != EXP.error && f && sc.intypeof != 1 && !(sc.flags & SCOPE.ctfe) && in checkGC()
213 !(sc.flags & SCOPE.debug_)) in checkGC()
H A Dsemantic3.d222 if (sc.flags & SCOPE.Cfile && funcdecl.isCMain() && f.next.ty == Tint32) in visit()
336 sc2.flags = sc.flags & ~SCOPE.contract; in visit()
337 sc2.flags &= ~SCOPE.compile; in visit()
816 … if ((blockexit & BE.fallthru) && f.next.ty != Tvoid && !inlineAsm && !(sc.flags & SCOPE.Cfile)) in visit()
991 sc2.flags = (sc2.flags & ~SCOPE.contract) | SCOPE.require; in visit()
1023 sc2.flags = (sc2.flags & ~SCOPE.contract) | SCOPE.ensure; in visit()
H A Dinitsem.d377 if (i.dim > edim && !(tsa.isIncomplete() && (sc.flags & SCOPE.Cfile))) in initializerSemantic()
428 if (i.exp.implicitConvTo(t) && !(sc.flags & SCOPE.Cfile)) in initializerSemantic()
436 if (sc.flags & SCOPE.Cfile) in initializerSemantic()
509 if (sc.flags & SCOPE.Cfile && in initializerSemantic()
522 if (sc.flags & SCOPE.Cfile && i.exp.isStringExp() && in initializerSemantic()
586 else if (sc.flags & SCOPE.Cfile && i.exp.isStringExp() && in initializerSemantic()
H A Dexpressionsem.d185 …if ((sc.flags & SCOPE.ctfe) ? hasSideEffect(e1) : !isTrivialExp(e1)) // match logic in extractSide… in extractOpDollarSideEffect()
434 if (sc.flags & SCOPE.ignoresymbolvisibility) in searchUFCS()
1248 else if (sc && sc.flags & SCOPE.Cfile && e1.isVarExp() && !e2)
2719 if (sc.flags & SCOPE.ctfe) in visit()
2999 if (sc && sc.flags & SCOPE.Cfile) in visit()
3024 if (sc && sc.flags & SCOPE.Cfile) in visit()
3036 if (sc && sc.flags & SCOPE.Cfile) in visit()
3238 auto e = initializerToExpression(init, t, (sc.flags & SCOPE.Cfile) != 0); in visit()
3888 sc.flags &= ~SCOPE.ctfe; // temporary stop CTFE in visit()
4010 sc.flags &= ~SCOPE.ctfe; // temporary stop CTFE in visit()
[all …]
H A Dtraits.d822 sc2.flags = sc.flags | SCOPE.noaccesscheck | SCOPE.ignoresymbolvisibility; in semanticTraits()
1044 scx.flags |= SCOPE.ignoresymbolvisibility | SCOPE.noaccesscheck; in semanticTraits()
1730 … sc2.flags = (sc.flags & ~(SCOPE.ctfe | SCOPE.condition)) | SCOPE.compile | SCOPE.fullinst; in semanticTraits()
H A Ddsymbolsem.d143 if (sc.flags & SCOPE.Cfile && n == 0) // C11 6.7.5-6 allows 0 for alignment in getAlignment()
416 sc.flags |= SCOPE.condition; in visit()
421 … dsym.type = dsym._init.initializerToExpression(null, (sc.flags & SCOPE.Cfile) != 0).type; in visit()
531 …VoidInitializer()) ? dsym._init.initializerToExpression(null, (sc.flags & SCOPE.Cfile) != 0) : nul… in visit()
888 if (sc.flags & SCOPE.Cfile && !dsym._init) in visit()
953 if (sc.flags & SCOPE.Cfile && in visit()
983 … e = dsym._init.initializerToExpression(null, (sc.flags & SCOPE.Cfile) != 0); in visit()
988 … e = dsym._init.initializerToExpression(null, (sc.flags & SCOPE.Cfile) != 0); in visit()
998 else if (sc.flags & SCOPE.Cfile && dsym.type.isTypeSArray() && in visit()
1066 sc.flags & SCOPE.Cfile) in visit()
[all …]
H A Ddstruct.d77 if (sc.flags & (SCOPE.ctfe | SCOPE.compile)) in semanticTypeInfo()
H A Dtypinf.d42 if (!sc || !(sc.flags & SCOPE.ctfe)) in genTypeInfo()
H A Dsafe.d218 !(sc.flags & SCOPE.debug_) && // allow unsafe code in debug statements in checkUnsafeDotExp()
H A Dattrib.d903 sc2.flags = (sc2.flags & ~SCOPE.scanf) | SCOPE.printf; in newScope()
905 sc2.flags = (sc2.flags & ~SCOPE.printf) | SCOPE.scanf; in newScope()
H A Dstatementsem.d88 uint flags = (sc.flags & SCOPE.contract); in fixupLabelName()
90 if (flags && flags != SCOPE.invariant_ && in fixupLabelName()
94 buf.writestring(flags == SCOPE.require ? "__in_" : "__out_"); in fixupLabelName()
129 if (sc.flags & SCOPE.Cfile) in checkAssignmentAsCondition()
217 if (!(sc.flags & SCOPE.Cfile) && discardValue(s.exp)) in package()
1971 sc.flags |= SCOPE.debug_; in package()
2321 … if (!ss.isFinal && (!ss._body || !ss._body.isErrorStatement()) && !(sc.flags & SCOPE.Cfile)) in package()
2329 if (sc.flags & SCOPE.Cfile) in package()
2375 if (!(sc.flags & SCOPE.Cfile) && ss.checkLabel()) in package()
2827 if (sc.flags & SCOPE.contract) in package()
[all …]
H A Daccess.d169 if (sc.flags & SCOPE.noaccesscheck) in checkAccess()
H A Dsideeffect.d411 ((sc.flags & SCOPE.ctfe) ? !hasSideEffect(e) : isTrivialExp(e)))
H A Dexpression.d1177 if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) in checkPurity()
1282 if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) in checkPurity()
1392 return sc.func && (sc.flags & SCOPE.compile in checkImpure()
1411 if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) in checkSafety()
1416 if (sc.flags & SCOPE.compile ? sc.func.isSafeBypassingInference() : sc.func.setUnsafe()) in checkSafety()
1449 if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) in checkNogc()
1454 if (sc.flags & SCOPE.compile ? sc.func.isNogcBypassingInference() : sc.func.setGC()) in checkNogc()
3351 if (sc.flags & SCOPE.Cfile) in toLvalue()
4819 if (sc && sc.flags & SCOPE.Cfile) in toLvalue()
5396 if (sc && sc.flags & SCOPE.Cfile) in toLvalue()
H A Ddeclaration.d370 if (scx.func == parent && (scx.flags & SCOPE.contract)) in checkModify()
385 if (scx.func == vthis.parent && (scx.flags & SCOPE.contract)) in checkModify()
1586 if (sc.intypeof == 1 || (sc.flags & SCOPE.ctfe)) in checkNestedReference()
1621 if (!sc.intypeof && !(sc.flags & SCOPE.compile) && in checkNestedReference()
H A Dtypesem.d271 if (!(sc.flags & SCOPE.ignoresymbolvisibility) && !symbolIsVisible(sc, sm))
1631 !(sc.flags & SCOPE.Cfile)) in typeSemantic()
1794 const inAlias = (sc.flags & SCOPE.alias_) != 0; in typeSemantic()
3912 if (!(sc.flags & SCOPE.Cfile) && ident == Id._mangleof) in dotExp()
3954 sc2.flags |= SCOPE.noaccesscheck; in dotExp()
3960 immutable flags = sc.flags & SCOPE.ignoresymbolvisibility ? IgnoreSymbolVisibility : 0; in dotExp()
3967 if (!(sc.flags & SCOPE.ignoresymbolvisibility) && !symbolIsVisible(sc, s)) in dotExp()
4215 sc2.flags |= SCOPE.noaccesscheck; in dotExp()
4221 int flags = sc.flags & SCOPE.ignoresymbolvisibility ? IgnoreSymbolVisibility : 0; in dotExp()
4374 if (!(sc.flags & SCOPE.ignoresymbolvisibility) && !symbolIsVisible(sc, s)) in dotExp()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dname-lookup.h254 #define global_scope_p(SCOPE) \ argument
255 ((SCOPE) == NAMESPACE_LEVEL (global_namespace))
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dname-lookup.h330 #define global_scope_p(SCOPE) \ argument
331 ((SCOPE) == NAMESPACE_LEVEL (global_namespace))
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/
H A DAnalyzerOptions.h38 #define ANALYSIS(NAME, CMDFLAG, DESC, SCOPE) NAME, argument
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dstab.def157 __define_stab (N_SCOPE, 0xc4, "SCOPE")
228 | C0 LBRAC | C2 EXCL | C4 SCOPE | C6 |
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dstab.def157 __define_stab (N_SCOPE, 0xc4, "SCOPE")
228 | C0 LBRAC | C2 EXCL | C4 SCOPE | C6 |
/netbsd-src/external/gpl3/binutils/dist/include/aout/
H A Dstab.def193 __define_stab (N_SCOPE, 0xc4, "SCOPE")
271 | C0 LBRAC | C2 EXCL | C4 SCOPE | C6 |
/netbsd-src/external/gpl3/binutils.old/dist/include/aout/
H A Dstab.def193 __define_stab (N_SCOPE, 0xc4, "SCOPE")
271 | C0 LBRAC | C2 EXCL | C4 SCOPE | C6 |

123