Commit Graph

4 Commits

Author SHA1 Message Date
Ted Kremenek
8f5b8ccb02 Rename "This" to "Self" and "this" to "self".
This was not likely an error-free change.  Where you see problems
please correct them.  This went through a fairly tedious audit
before committing, but comments might have been changed incorrectly,
not changed at all, etc.

Swift SVN r7631
2013-08-27 21:58:27 +00:00
Chris Lattner
1f8c05dc75 teach the destructor analysis to ignore stores to 'this' object, allowing us to delete
trivial dtors like:

class File {
  var x : Int
  destructor { x = 4 }
}



Swift SVN r2565
2012-08-06 15:55:01 +00:00
Chris Lattner
4b05e121c9 teach the destructor analysis code to ignore retains and releases of
'this'.  This allows us to zap the default class dtor when it is
empty, e.g.:

class File {
}

func test() {
  var f : File = new File()
}



Swift SVN r2564
2012-08-06 15:50:00 +00:00
Chris Lattner
f603333dad split test in half.
Swift SVN r2563
2012-08-06 15:47:43 +00:00