HomePhabricator

[SmallSet] Add SmallSetIterator.

Authored by fhahn on Jun 16 2018, 5:36 AM.

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

llvm-svn: 334887

Details

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