summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprObjC.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-07 05:05:41 +0000
committerChris Lattner <sabre@nondot.org>2008-04-07 05:05:41 +0000
commitae947fe3f9a96ee762fb7188be6b9a8efad95aaa (patch)
treea0f3e1bf628e165e3e29778f3f90a7d0181fc43b /clang/lib/Sema/SemaExprObjC.cpp
parentfde076173549de31cfe3e4039ac83d6ee597f2b3 (diff)
downloadbcm5719-llvm-ae947fe3f9a96ee762fb7188be6b9a8efad95aaa.tar.gz
bcm5719-llvm-ae947fe3f9a96ee762fb7188be6b9a8efad95aaa.zip
Replace an O(n^2) algorithm in areCompatObjCQualInterfaces with
an O(n) algorithm by taking advantage of the fact that the protocol qualifier list is already guaranteed sorted. llvm-svn: 49312
Diffstat (limited to 'clang/lib/Sema/SemaExprObjC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud