]> granicus.if.org Git - clang/commit
Change ObjCIntefaceDecl::lookupMethod() to have optional 'followsSuper' argument.
authorTed Kremenek <kremenek@apple.com>
Sat, 23 Nov 2013 01:01:29 +0000 (01:01 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 23 Nov 2013 01:01:29 +0000 (01:01 +0000)
commit10f5d6daa46c98c86874dc47007f969b7716afa3
tree79ee8ddb17dd229d3fb0b20906de52937d36a83a
parent11909892ff73dc0f69ad4cd7223d8f661767206e
Change ObjCIntefaceDecl::lookupMethod() to have optional 'followsSuper' argument.

This enables a micro-optimization in protocol conformance checking
to not examine the class hierarchy twice per method.

As part of this change, remove the default arguments from lookupInstanceMethod()
and lookupClassMethod().  It was becoming very redundant.  For clients
needing the default arguments, have them use the full API instead of
these convenience methods.

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