This is an archive of the discontinued LLVM Phabricator instance.

Use llvm::is_contained where appropriate (NFC)
ClosedPublic

Authored by kazu on Jul 23 2020, 11:38 PM.

Details

Summary

This patch replaces std::find with llvm::is_contained where
appropriate.

Diff Detail

Event Timeline

kazu created this revision.Jul 23 2020, 11:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 23 2020, 11:38 PM
nhaehnle accepted this revision.Jul 27 2020, 2:14 AM

This is a nice cleanup, thanks. LGTM.

This revision is now accepted and ready to land.Jul 27 2020, 2:14 AM
This revision was automatically updated to reflect the committed changes.