commit | aabd094cf694039fe823987e133af7ac25cb9711 | [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 | 3a14e0f3b77c4ba167042bb0395c85ea9521bcb7 | |
parent | eb8fc58241e1781a77c958764e16a4c402e4d707 [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173073 91177308-0d34-0410-b5e6-96231b3b80d8