tidy up visitor, UnresolvedDotExpr base cannot be null since John's rework.

Swift SVN r584
This commit is contained in:
Chris Lattner
2011-08-23 00:39:47 +00:00
parent bd357f9051
commit c827cc11a0
2 changed files with 8 additions and 22 deletions

View File

@@ -309,12 +309,10 @@ public:
};
/// UnresolvedDotExpr - A field access (foo.bar) on an expression with dependent
/// type. Before type checking, the SubExpr is null (because we don't know how
/// much is bound), and during TypeChecking SubExpr may be bound to a
/// subexpression.
/// type.
class UnresolvedDotExpr : public Expr {
public:
Expr *SubExpr; // Can be null!
Expr *SubExpr;
SMLoc DotLoc;
Identifier Name;
SMLoc NameLoc;