fix <rdar://problem/20894455> "variable was never mutated" diagnostic does not take #if into account

Swift SVN r28633
This commit is contained in:
Chris Lattner
2015-05-15 18:30:32 +00:00
parent 19017a287f
commit 9bbce68ec8
3 changed files with 48 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ namespace swift {
SourceLoc getEndLoc() const;
void walk(ASTWalker &Walker);
void walk(ASTWalker &&walker) { walk(walker); }
};
} // namespace swift