mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-20 14:53:14 +01:00
More trivial upstream alignment.
This commit is contained in:
@@ -217,8 +217,6 @@ struct UnionDeclaration : StructDeclaration
|
||||
UnionDeclaration *isUnionDeclaration() { return this; }
|
||||
};
|
||||
|
||||
// warning: two classes with the same base class share the same
|
||||
// BaseClass instance.
|
||||
struct BaseClass
|
||||
{
|
||||
Type *type; // (before semantic processing)
|
||||
|
||||
@@ -108,6 +108,7 @@ bool isArrayOpValid(Expression *e)
|
||||
|
||||
Expression *BinExp::arrayOp(Scope *sc)
|
||||
{
|
||||
//printf("BinExp::arrayOp() %s\n", toChars());
|
||||
|
||||
Type *tb = type->toBasetype();
|
||||
assert(tb->ty == Tarray || tb->ty == Tsarray);
|
||||
|
||||
Reference in New Issue
Block a user