| commit | 90d344278474684fa12a21bdeb6965a9f0c9ce2f | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Mon Jan 21 19:05:22 2013 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 21 19:05:22 2013 +0000 |
| tree | 246c7b68876be4e87c979f576fef5bad5d3fc5b7 | |
| parent | bba95c08e4da6c2376a3e3aefe203a3e7f70a994 [diff] |
Eliminate the oddly-named Sema::ComparePropertiesInBaseAndSuper, which did a redundant traversal of the lexical declarations in the superclass. Instead, when we declare a new property, look into the superclass to see whether we're redeclaring the property. Goot for 1% of -fsyntax-only time on Cocoa.h and a little less than 3% on my modules test case. llvm-svn: 173073