]> granicus.if.org Git - clang/commit
Replace some unnecessary O(N^2) lookups for properties with
authorDouglas Gregor <dgregor@apple.com>
Mon, 21 Jan 2013 18:35:55 +0000 (18:35 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 21 Jan 2013 18:35:55 +0000 (18:35 +0000)
commit0dfe23c5d571222e74e3ed74c6fff3cee792118e
tree151a74e716fd79654b930ef7f998792365d0962b
parent187f8bd88bfc92cf3fea62b7d8db5f92edce410a
Replace some unnecessary O(N^2) lookups for properties with
DeclContext lookups. The performance win is negligible in my tests,
but it's the Right Thing To Do (TM).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173068 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaObjCProperty.cpp