HomePhabricator

[sema][objc] Minor refactor to OverrideSearch. NFCI.

Authored by mattd on Apr 22 2019, 9:04 AM.

Description

[sema][objc] Minor refactor to OverrideSearch. NFCI.

Summary:

  • Removed a member that was only used during construction.
  • Use range-based for iteration when accessing the result of the search.
  • Require an ObjCMethodDecl reference upon construction of an
  • Constify.

Reviewers: rjmccall

Reviewed By: rjmccall

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D60850

llvm-svn: 358898

Details

Committed
mattdApr 22 2019, 9:04 AM
Reviewer
rjmccall
Differential Revision
D60850: [sema][objc] Minor refactor to OverrideSearch. NFCI.
Parents
rGa5355a5ed16c: Use llvm::stable_sort. NFC
Branches
Unknown
Tags
Unknown