Home
last modified time | relevance | path

Searched refs:isRef (Results 1 – 25 of 31) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dfallback_allocator.d280 static if (__traits(isRef, arg)) in forward()
307 static assert(__traits(isRef, value)); in checkByRef()
312 static assert(!__traits(isRef, value)); in checkByVal()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DErrorOr.h59 static constexpr bool isRef = std::is_reference<T>::value; variable
64 using storage_type = std::conditional_t<isRef, wrap, T>;
H A DError.h443 static constexpr bool isRef = std::is_reference<T>::value; variable
450 using storage_type = std::conditional_t<isRef, wrap, T>;
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dfallback_allocator.d397 static if (__traits(isRef, arg)) in forward()
424 static assert(__traits(isRef, value)); in checkByRef()
429 static assert(!__traits(isRef, value)); in checkByVal()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dmtype.h300 virtual unsigned char deduceWild(Type *t, bool isRef);
384 unsigned char deduceWild(Type *t, bool isRef);
798 unsigned char deduceWild(Type *t, bool isRef);
854 unsigned char deduceWild(Type *t, bool isRef);
H A Dmtype.d2235 MOD deduceWild(Type t, bool isRef) in deduceWild() argument
3051 override final MOD deduceWild(Type t, bool isRef) in deduceWild() argument
3059 if (!isRef && (ty == Tarray || ty == Tpointer) && tn) in deduceWild()
3067 wm = Type.deduceWild(t, isRef); in deduceWild()
4662 const isRef = p.isReference(); local
4663 wildmatch |= targ.deduceWild(tprm, isRef);
4715 const isRef = p.isReference(); local
4720 if (arg.isLvalue() && !isRef && targ.ty == Tstruct && tprm.ty == Tstruct)
5942 override MOD deduceWild(Type t, bool isRef) in deduceWild() argument
5945 return Type.deduceWild(t, isRef); in deduceWild()
[all …]
H A Ddeclaration.h151 bool isRef() const { return (storage_class & STCref) != 0; } in isRef() function
H A Dstatementsem.d1508 bool isRef = (p.storageClass & STC.ref_) != 0; in package() local
1512 Type ti = (isRef ? taa.index.addMod(MODFlags.const_) : taa.index); in package()
1513 if (isRef ? !ti.constConv(ta) : !ti.implicitConvTo(ta)) in package()
1520 isRef = (p.storageClass & STC.ref_) != 0; in package()
1524 if (isRef ? !taav.constConv(ta) : !taav.implicitConvTo(ta)) in package()
H A Dtraits.d758 if (e.ident == Id.isRef) in semanticTraits()
763 return isDeclX(d => d.isRef()); in semanticTraits()
H A Ddeclaration.d529 final bool isRef() const pure nothrow @nogc @safe in isRef() function
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dmtype.h313 virtual unsigned char deduceWild(Type *t, bool isRef);
383 unsigned char deduceWild(Type *t, bool isRef);
802 unsigned char deduceWild(Type *t, bool isRef);
864 unsigned char deduceWild(Type *t, bool isRef);
H A Dstatementsem.c1536 bool isRef = (p->storageClass & STCref) != 0; in visit() local
1540 Type *ti = (isRef ? taa->index->addMod(MODconst) : taa->index); in visit()
1541 if (isRef ? !ti->constConv(ta) : !ti->implicitConvTo(ta)) in visit()
1547 isRef = (p->storageClass & STCref) != 0; in visit()
1551 if (isRef ? !taav->constConv(ta) : !taav->implicitConvTo(ta)) in visit()
2876 else if (!v || v->isOut() || v->isRef()) in visit()
H A Dmtype.c2863 unsigned char TypeNext::deduceWild(Type *t, bool isRef) in deduceWild() argument
2871 if (!isRef && (ty == Tarray || ty == Tpointer) && tn) in deduceWild()
2879 wm = Type::deduceWild(t, isRef); in deduceWild()
6011 bool isRef = (p->storageClass & (STCref | STCout)) != 0; in callMatch() local
6012 wildmatch |= targ->deduceWild(tprm, isRef); in callMatch()
8340 unsigned char TypeStruct::deduceWild(Type *t, bool isRef) in deduceWild() argument
8343 return Type::deduceWild(t, isRef); in deduceWild()
8350 wm = aliasthisOf()->deduceWild(t, isRef); in deduceWild()
8935 unsigned char TypeClass::deduceWild(Type *t, bool isRef) in deduceWild() argument
8939 return Type::deduceWild(t, isRef); in deduceWild()
[all …]
H A Dexpression.c1550 bool isRef = (p->storageClass & (STCref | STCout)) != 0; in functionParameters() local
1551 if (unsigned char wm = arg->type->deduceWild(p->type, isRef)) in functionParameters()
1852 const bool isRef = (parameter && (parameter->storageClass & (STCref | STCout))); in functionParameters() local
1868 const bool needsDtor = (!isRef && arg->type->needsDestruction() && i != lastthrow); in functionParameters()
1874 !isRef ? arg : arg->addressOf()); in functionParameters()
1905 if (isRef) in functionParameters()
1933 if (!isRef && tv->ty == Tstruct) in functionParameters()
2465 if (v->isConst() && !v->isRef() && (v->isDataseg() || v->isParameter()) && in checkPurity()
H A Dtraits.c180 bool isDeclRef(Declaration *d) { return d->isRef(); } in isDeclRef()
609 else if (e->ident == Id::isRef) in semanticTraits()
H A Ddeclaration.h158 bool isRef() { return (storage_class & STCref) != 0; } in isRef() function
H A Doptimize.c369 if (!ve->var->isOut() && !ve->var->isRef() && in Expression_optimize()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h204 bool isRef() const { return Access & RefAccess; } in isRef() function
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Dlifetime.d1224 static assert(__traits(isRef, arg));
1229 static assert(!__traits(isRef, arg));
1569 static if (__traits(isRef, arg) ||
1637 result ~= __traits(isRef, args[i]) ? "L" : "R";
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dfunctional.d1884 static if (__traits(isRef, args) || !is(typeof(move(args.tupleof[i]))))
1999 static assert(__traits(isRef, x));
2002 static assert(!__traits(isRef, x));
H A Dexception.d1072 if (__traits(isRef, source) || isDynamicArray!S ||
1118 if (__traits(isRef, source) || isDynamicArray!S ||
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dfunctional.d1480 static if (__traits(isRef, arg))
1531 result ~= __traits(isRef, args[i]) ? "L" : "R";
H A Dexception.d1064 if (__traits(isRef, source) || isDynamicArray!S ||
1107 if (__traits(isRef, source) || isDynamicArray!S ||
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/
H A Dpackage.d2406 static if (__traits(isRef, p)) in dispose()
2430 static if (__traits(isRef, p))
2445 static if (__traits(isRef, array)) in dispose()
2592 static if (__traits(isRef, array)) in disposeMultidimensionalArray()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/TableGen/
H A DProgRef.rst796 bit isRef = mrv.Value{1};
814 bit isRef = 1;
818 bit isRef = 0;
822 bit isRef = 1;

12