Home
last modified time | relevance | path

Searched refs:isref (Results 1 – 25 of 37) sorted by relevance

12

/netbsd-src/external/gpl2/texinfo/dist/util/
H A Dderef.c95 isref(char *cp) in isref() function
123 count = isref(cp); in process()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsideeffect.d120 return mutabilityOfType(tf.isref, tf.next) == 2 ? 2 : 1; in callSideEffectLevel()
149 return mutabilityOfType(tf.isref, tf.next) == 2 ? 2 : 1; in callSideEffectLevel()
H A Dmtype.d270 int mutabilityOfType(bool isref, Type t) in mutabilityOfType() argument
272 if (isref) in mutabilityOfType()
602 notcovariant |= !fparam1.isCovariant(t1.isref, fparam2);
652 if (t1.isref && t2.isref)
677 if (t1.isref != t2.isref)
680 if (!t1.isref && (t1.isScopeQual || t2.isScopeQual))
696 if (!Parameter.isCovariantScope(t1.isref, stc1, stc2))
4208 bool isref; /// returns a reference member
4251 this.isref = true;
4292 t.isref = isref; in syntaxCopy()
[all …]
H A Dsemantic3.d600 bool inferRef = (f.isref && (funcdecl.storage_class & STC.auto_)); in visit()
644 …if (inferRef && f.isref && !exp.type.constConv(f.next)) // https://issues.dlang.org/show_bug.cgi?i… in visit()
645 f.isref = false; in visit()
649 if (f.isref) // Function returns a reference in visit()
909 … if (f.isref && !MODimplicitConv(exp.type.mod, tret.mod) && !tret.isTypeSArray()) in visit()
916 if (f.isref) in visit()
H A Descape.d1112 if (!tf.isref) in checkNewEscape()
1377 if (tf.isref) in checkReturnEscapeImpl()
1718 if (tf.isref) in visit()
1773 if (tf.isref) in visit()
1994 if (tf.isref) in visit()
2041 if (tf.isref) in visit()
H A Dmtype.h624 bool isref() const;
625 void isref(bool v);
H A Dstatementsem.d1269 if (!ftt.isref) in package()
2823 bool inferRef = (tf.isref && (fd.storage_class & STC.auto_)); in package()
2879 const returnSharedRef = (tf.isref && (fd.inferRetType || tret.isShared())); in package()
2982 tf.isref = false; // return by value in package()
3049 tf.isref = false; in package()
H A Dcppmangle.d215 if (tf.isref) in mangleReturnType()
1882 if (t.isref) in visit()
H A Dfunc.d1599 if (tf.isref) in isReturnIsolated()
2230 if (tf.isref) in buildResultVar()
2807 if (tf.isref) in checkNRVO()
H A Ddmangle.d367 if (ta.isref) in mangleFuncType()
H A Dtypesem.d1192 tf.isref = true; in typeSemantic()
1262 if (tf.isreturn && !tf.isref && !tf.next.hasPointers()) in typeSemantic()
1443 if (0 && !tf.isref) in typeSemantic()
1456 if (tf.isref) in typeSemantic()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dmtype.c2025 t->isref = isref; in substWildTo()
5153 this->isref = false; in TypeFunction()
5170 this->isref = true; in TypeFunction()
5207 t->isref = isref; in syntaxCopy()
5304 notcovariant |= !fparam1->isCovariant(t1->isref, fparam2); in covariant()
5372 if (t1->isref != t2->isref) in covariant()
5375 if (!t1->isref && (t1->isscope || t2->isscope)) in covariant()
5391 if (!Parameter::isCovariantScope(t1->isref, stc1, stc2)) in covariant()
5485 tf->isref = true; in semantic()
5526 if (tf->isreturn && !tf->isref && !tf->next->hasPointers()) in semantic()
[all …]
H A Ddmangle.c234 …if (ta->purity || ta->isnothrow || ta->isnogc || ta->isproperty || ta->isref || ta->trust || ta->i… in mangleFuncType()
240 if (ta->isref) in mangleFuncType()
H A Descape.c656 if (tf->isref) in checkReturnEscapeImpl()
1142 if (tf->isref) in escapeByRef()
1184 else if ((dve->var->storage_class & STCref) || tf->isref) in escapeByRef()
H A Dfunc.c578 if (tf->isref) sc->stc |= STCref; in semantic()
708 tfo->isref = tfx->isref; in semantic()
720 if ((storage_class & STCauto) && !f->isref && !inferRetType) in semantic()
1710 bool inferRef = (f->isref && (storage_class & STCauto)); in semantic3()
1754 … if (inferRef && f->isref && !exp->type->constConv(f->next)) // Bugzilla 13336 in semantic3()
1755 f->isref = false; in semantic3()
1759 if (f->isref) // Function returns a reference in semantic3()
1974 if (f->isref) in semantic3()
2611 if (tf->isref) in buildResultVar()
4049 treti = tf->isref ? treti : getIndirection(treti); in isolateReturn()
H A Dcppmangle.c982 if (t->isref) in visit()
H A Dexpression.c308 if (!tf->isref && e2)
412 if (!e2 || tf->isref)
1566 (tf->isref || !tf->next->implicitConvTo(tf->next->immutableOf()))) in functionParameters()
4752 tfy->isref = tfx->isref; in matchType()
5549 if (tb->ty == Tfunction && ((TypeFunction *)tb)->isref) in isLvalue()
5575 if (tf->isref) in addDtorHook()
H A Dstatementsem.c2715 bool inferRef = (tf->isref && (fd->storage_class & STCauto)); in visit()
2852 tf->isref = false; // return by value in visit()
2855 tf->isref = false; // return by value in visit()
2870 if (tf->isref) in visit()
2920 tf->isref = false; in visit()
H A Dmtype.h605 bool isref; // true: returns a reference variable
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-target.cc463 if (tf->isref ()) in isReturnOnStack()
H A Dtypes.cc875 if (t->isref ()) in visit()
H A Dtoir.cc978 gcc_assert (!tf->isref ()); in visit()
H A Dexpr.cc1789 if (tf->isref ()) in visit()
3110 if (tf->isref ()) in build_return_dtor()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dtypes.cc739 if (t->isref) in visit()
H A Dexpr.cc1864 if (tf->isref) in visit()
3149 if (tf->isref) in build_return_dtor()

12