Commit Graph

4105 Commits

Author SHA1 Message Date
Chris Lattner
510223bf08 improve the diagnostic produced when assigning to self.
Swift SVN r12514
2014-01-17 23:29:15 +00:00
Chris Lattner
b15f83d3b8 tweak diagnostic at Jordan's request.
Swift SVN r12513
2014-01-17 23:24:42 +00:00
Chris Lattner
d5820558c4 improve QoI for some simple cases of invalid assignments.
Swift SVN r12511
2014-01-17 22:59:54 +00:00
Jordan Rose
890df62a16 Warn on recursive computed variable access within its own getter.
Part of <rdar://problem/14083624>

Swift SVN r12454
2014-01-17 02:58:22 +00:00
Jordan Rose
11008f0ed1 Split diagnostics out into separate files.
Thanks to the way we've set up our diagnostics engine, there's not actually
a reason for /everything/ to get rebuilt when /one/ diagnostic changes.
I've split them up into five categories for now: Parse, Sema, SIL, IRGen,
and Frontend, plus a set of "Common" diagnostics that are used in multiple
areas of the compiler. We can massage this later.

No functionality change, but should speed up compile times!

Swift SVN r12438
2014-01-17 00:15:12 +00:00