commit | e15db6f0d226a3bc88d244512d1004c7c1c07391 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed May 09 16:12:57 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed May 09 16:12:57 2012 +0000 |
tree | 8590e0ea1c3cf7e70148a88aae33621890c890c2 | |
parent | 08a9ae95ba7e0a87e667f97ccc5bac646df9a705 [diff] |
[AST/libclang] Speed up clang_getOverriddenCursors() considerably by reserving a bit in ObjCMethodDecl to indicate whether the method does not override any other method, which is the majority of cases. That way we can avoid unnecessary work doing lookups, especially when PCH is involved. rdar://11360082 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156476 91177308-0d34-0410-b5e6-96231b3b80d8