diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-07 05:05:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-07 05:05:41 +0000 |
commit | ae947fe3f9a96ee762fb7188be6b9a8efad95aaa (patch) | |
tree | a0f3e1bf628e165e3e29778f3f90a7d0181fc43b /clang/lib/Sema/SemaExprObjC.cpp | |
parent | fde076173549de31cfe3e4039ac83d6ee597f2b3 (diff) | |
download | bcm5719-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