Implement the virtual getNextRedeclaration() for ObjCMethodDecl.

If it's in an ObjCContainerDecl, its "redeclaration" is the method definition in the corresponding ObjCImplDecl.
If it's in an ObjCImplDecl, its "redeclaration" is the method in the interface.

llvm-svn: 76512
2 files changed
tree: d1ececcd058395265575a3749094f66dae27b5ec
  1. clang/
  2. compiler-rt/
  3. llvm/