aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/cppmangle.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gcc.gnu.org>2018-12-02 11:47:49 +0000
committerIain Buclaw <ibuclaw@gcc.gnu.org>2018-12-02 11:47:49 +0000
commitf4b6fc8c53afad76c98e9d8c7debfd092c4d9620 (patch)
treea62e9c7a765575db1f43be17ddd0cc84a20392e5 /gcc/d/dmd/cppmangle.c
parentbb567ea30776994f691557d7f3cd80e332d68295 (diff)
downloadgcc-f4b6fc8c53afad76c98e9d8c7debfd092c4d9620.zip
gcc-f4b6fc8c53afad76c98e9d8c7debfd092c4d9620.tar.gz
gcc-f4b6fc8c53afad76c98e9d8c7debfd092c4d9620.tar.bz2
Merge dmd upstream 5220ad51e
Backports Ddoc fix that is present in upstream, but did not make its way into the C++ port of the D front-end implementation. The old special types for C long, unsigned long, and long double have also been removed as neither the compiler nor druntime bindings support handling it anymore. Commits merged from dmd. Backport Issue 14633: Fixed false DDoc warnings https://github.com/dlang/dmd/pull/9027 Remove old support code for struct __c_long/ulong/long_double https://github.com/dlang/dmd/pull/9028 From-SVN: r266719
Diffstat (limited to 'gcc/d/dmd/cppmangle.c')
-rw-r--r--gcc/d/dmd/cppmangle.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/d/dmd/cppmangle.c b/gcc/d/dmd/cppmangle.c
index d2d3576..ad88242d 100644
--- a/gcc/d/dmd/cppmangle.c
+++ b/gcc/d/dmd/cppmangle.c
@@ -952,15 +952,6 @@ public:
if (t->isImmutable() || t->isShared())
return error(t);
- /* __c_long and __c_ulong get special mangling
- */
- Identifier *id = t->sym->ident;
- //printf("struct id = '%s'\n", id->toChars());
- if (id == Id::__c_long)
- return writeBasicType(t, 0, 'l');
- else if (id == Id::__c_ulong)
- return writeBasicType(t, 0, 'm');
-
//printf("TypeStruct %s\n", t->toChars());
doSymbol(t);
}