HomePhabricator

[llvm] Call *(Set|Map)::erase directly (NFC)

Authored by kazu on Sun, Jan 3, 9:57 AM.

Description

[llvm] Call *(Set|Map)::erase directly (NFC)

We can erase an item in a set or map without checking its membership
first.

Details

Committed
kazuSun, Jan 3, 9:57 AM
Parents
rG0e219b6443b2: [Target] Construct SmallVector with iterator ranges (NFC)
Branches
Unknown
Tags
Unknown