]> granicus.if.org Git - clang/commit
Speed-up ObjCMethodDecl::getOverriddenMethods().
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 13 Apr 2013 01:04:01 +0000 (01:04 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 13 Apr 2013 01:04:01 +0000 (01:04 +0000)
commit175c8e2e57befe2db15dd339ab5eb27d0c2b6013
treeb8aa20a5d67521db1fcc8f26cf939fc6448126b6
parentecc65238c98ba21d08763da7b7972d617677e908
Speed-up ObjCMethodDecl::getOverriddenMethods().

Use an newly introduce ASTContext::getBaseObjCCategoriesAfterInterface() which caches its
results instead of re-calculating the categories multiple times.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179436 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/AST/DeclObjC.cpp