HomePhabricator

[SmallSet] Add SmallSetIterator.

Description

[SmallSet] Add SmallSetIterator.

This patch adds a simple const_iterator implementation for SmallSet by
delegating to either a SmallVector::const_iterator or
std::set::const_iterator, depending on which storage is used by the
SmallSet.

Reviewers: dblaikie, craig.topper

Reviewed By: dblaikie

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

Details

Committed
fhahnJun 16 2018, 5:36 AM
Reviewer
dblaikie
Differential Revision
D47942: [SmallSet] Add SmallSetIterator.
Parents
rL334886: Add RUN line for amdgcn to lit test conditional-temporaries.cpp
Branches
Unknown
Tags
Unknown