commit | a83a6d3725a9a488e2d10c1f2af46d9c6d82958d | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu May 03 23:38:34 2012 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Thu May 03 23:38:34 2012 +0000 |
tree | bf11f5e76ec86a8b249f1c70319cff03e6fbfb76 | |
parent | ff204963cbcd7c68d59f3bba5bfa2797ea0cebae [diff] |
Add a FoldingSetVector datastructure which is analogous to a SetVector, but using a FoldingSet underneath and with a largely compatible interface to that of FoldingSet. This can be used anywhere a FoldingSet would be natural, but iteration order is significant. The initial intended use case is in Clang's template specialization lists to preserve instantiation order iteration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156131 91177308-0d34-0410-b5e6-96231b3b80d8