Eliminate Sema::CompareProperties(), which was walking over a pile of
authorDouglas Gregor <dgregor@apple.com>
Mon, 21 Jan 2013 19:42:21 +0000 (19:42 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 21 Jan 2013 19:42:21 +0000 (19:42 +0000)
commitb898209086c363ee43b854a4b90e773248fa1f9a
tree695ded1a90dbdd63c8bead639e13ffc0acf3b4c4
parent767c8d3570b0a7a0d3f3ec1032f3ec2137e5defc
Eliminate Sema::CompareProperties(), which was walking over a pile of
lexical declarations looking for properties when we could more
efficiently check for property mismatches at property declaration
time. Good for ~1% of -fsyntax-only time when most of the properties
we're checking against come from an AST file.

llvm-svn: 173079
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaDeclObjC.cpp
clang/lib/Sema/SemaObjCProperty.cpp