]> granicus.if.org Git - clang/commit
Revert "Speed-up ObjCMethodDecl::getOverriddenMethods()."
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 15 Apr 2013 18:47:22 +0000 (18:47 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 15 Apr 2013 18:47:22 +0000 (18:47 +0000)
commit77670f17ae3a5c3188149c19a7e386c01d0aa7c0
tree63a989619863e0ff50192279a22ea1a2b42610a8
parent1f35ec3c2c5662644c07969a1b5c5ad748764285
Revert "Speed-up ObjCMethodDecl::getOverriddenMethods()."

This reverts commit r179436.

Due to caching, it was possible that we could miss overridden methods that
were introduced by categories later on.

Along with reverting the commit I also included a test case that would have caught this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179547 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/AST/DeclObjC.cpp
test/SemaObjC/arc-repeated-weak.mm