[pkg-d-commits] [ldc] 61/149: Fix return type of our TypeBasic::alignment() override.
Matthias Klumpp
mak at moszumanska.debian.org
Sun Apr 23 22:36:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.2.0
in repository ldc.
commit d55dd25cd0d3a33ba8dc56962eedb3a49b863441
Author: Johan Engelen <jbc.engelen at gmail.com>
Date: Sun Jan 29 23:15:00 2017 +0100
Fix return type of our TypeBasic::alignment() override.
---
ddmd/mtype.d | 2 +-
ddmd/mtype.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ddmd/mtype.d b/ddmd/mtype.d
index e55a933..7a0761d 100644
--- a/ddmd/mtype.d
+++ b/ddmd/mtype.d
@@ -3670,7 +3670,7 @@ extern (C++) final class TypeBasic : Type
version(IN_LLVM)
{
- override uint alignment()
+ override structalign_t alignment()
{
if ( (ty == Tfloat80 || ty == Timaginary80) && (size(Loc()) > 8)
&& isArchx86_64() )
diff --git a/ddmd/mtype.h b/ddmd/mtype.h
index c24e3c9..ac04261 100644
--- a/ddmd/mtype.h
+++ b/ddmd/mtype.h
@@ -402,7 +402,7 @@ public:
d_uns64 size(Loc loc) /*const*/;
unsigned alignsize();
#if IN_LLVM
- uint32_t alignment();
+ structalign_t alignment();
#endif
Expression *getProperty(Loc loc, Identifier *ident, int flag);
Expression *dotExp(Scope *sc, Expression *e, Identifier *ident, int flag);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list