mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
fix <rdar://problem/20894455> "variable was never mutated" diagnostic does not take #if into account
Swift SVN r28633
This commit is contained in:
@@ -41,6 +41,7 @@ namespace swift {
|
||||
SourceLoc getEndLoc() const;
|
||||
|
||||
void walk(ASTWalker &Walker);
|
||||
void walk(ASTWalker &&walker) { walk(walker); }
|
||||
};
|
||||
|
||||
} // namespace swift
|
||||
|
||||
Reference in New Issue
Block a user