aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/cxxfrontend.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/dmd/cxxfrontend.d')
-rw-r--r--gcc/d/dmd/cxxfrontend.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/d/dmd/cxxfrontend.d b/gcc/d/dmd/cxxfrontend.d
index 0b3096d..09e364d 100644
--- a/gcc/d/dmd/cxxfrontend.d
+++ b/gcc/d/dmd/cxxfrontend.d
@@ -495,6 +495,12 @@ Covariant covariant(Type src, Type t, StorageClass* pstc = null, bool
return dmd.typesem.covariant(src, t, pstc, cppCovariant);
}
+bool isZeroInit(Type t, const ref Loc loc)
+{
+ import dmd.typesem;
+ return dmd.typesem.isZeroInit(t, loc);
+}
+
bool isBaseOf(Type tthis, Type t, int* poffset)
{
import dmd.typesem;
@@ -651,6 +657,12 @@ MATCH implicitConvTo(Type from, Type to)
return dmd.dcast.implicitConvTo(from, to);
}
+MATCH constConv(Type from, Type to)
+{
+ import dmd.typesem;
+ return dmd.typesem.constConv(from, to);
+}
+
/***********************************************************
* typinf.d
*/