Mercurial > projects > ldc
diff dmd2/aggregate.h @ 1487:f62347c22d81
Apply changes from r1482 to D2 frontend too. Completely untested, but ldc2
compiles again.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 08 Jun 2009 13:45:26 +0200 |
parents | 638d16625da2 |
children |
line wrap: on
line diff
--- a/dmd2/aggregate.h Mon Jun 08 12:35:55 2009 +0200 +++ b/dmd2/aggregate.h Mon Jun 08 13:45:26 2009 +0200 @@ -121,6 +121,11 @@ #endif AggregateDeclaration *isAggregateDeclaration() { return this; } + +#if IN_LLVM + // Aggregates that wouldn't have gotten semantic3'ed if we weren't inlining set this flag. + bool availableExternally; +#endif }; struct AnonymousAggregateDeclaration : AggregateDeclaration