This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct StructBuilder | |
{ | |
Scope *scope; | |
Loc loc; | |
StructDeclaration *decl; | |
TypeStruct *type; | |
StructBuilder(Module *mod, const char* name) | |
{ | |
scope = mod->scope; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gcc/d/d-glue.cc b/gcc/d/d-glue.cc | |
index 71c85e7..14d7000 100644 | |
--- a/gcc/d/d-glue.cc | |
+++ b/gcc/d/d-glue.cc | |
@@ -2675,6 +2675,20 @@ FuncDeclaration::toObjFile (int) | |
fbody->toIR (irs); | |
+ // Find all template instances that are nested in this scope and emit | |
+ Module * module = getModule(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur config.orig/arm/arm.h config/arm/arm.h | |
--- config.orig/arm/arm.h 2013-01-20 14:48:46.355048483 +0100 | |
+++ config/arm/arm.h 2013-01-20 17:00:20.998917173 +0100 | |
@@ -109,6 +109,28 @@ | |
builtin_define ("__ARM_ARCH_EXT_IDIV__"); \ | |
} while (0) | |
+/* Target CPU builtins for D. */ | |
+#define TARGET_CPU_D_BUILTINS() \ | |
+ do \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/aarch64/aarch64.h b/aarch64/aarch64.h | |
index c3efd2a..60ed005 100644 | |
--- a/aarch64/aarch64.h | |
+++ b/aarch64/aarch64.h | |
@@ -51,6 +51,14 @@ | |
\ | |
} while (0) | |
+/* Target CPU builtins for D. */ | |
+#define TARGET_CPU_D_BUILTINS() \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From f750e1fdbd0cf0ec0e791709fd204aaeb7781bb1 Mon Sep 17 00:00:00 2001 | |
From: Johannes Pfau <[email protected]> | |
Date: Sat, 2 Feb 2013 22:53:21 +0100 | |
Subject: [PATCH] Implement D predefined OS versions | |
This implements the following official versions: | |
* Windows | |
** Win32 | |
** Win64 | |
** Cygwin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct S7965 | |
{ | |
} | |
auto f7965()() | |
{ | |
int a; | |
class Result | |
{ | |
S7965 s; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto f7965()() | |
{ | |
int a; | |
class Result | |
{ | |
void g() { /*a = 42;*/ } | |
} | |
return new Result(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RedBlackTree(alias less) | |
{ | |
struct Range | |
{ | |
auto @property empty() | |
{ | |
} | |
} | |
Range opSlice() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RedBlackTree(alias less) | |
{ | |
int a; | |
struct Range | |
{ | |
auto @property empty() | |
{ | |
return a; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RedBlackTree(alias less) | |
{ | |
int a; | |
struct Range | |
{ | |
auto @property empty() | |
{ | |
return a; | |
} | |
} |