Add a FoldingSetVector datastructure which is analogous to a SetVector,
authorChandler Carruth <chandlerc@gmail.com>
Thu, 3 May 2012 23:38:34 +0000 (23:38 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 3 May 2012 23:38:34 +0000 (23:38 +0000)
commita83a6d3725a9a488e2d10c1f2af46d9c6d82958d
treebf11f5e76ec86a8b249f1c70319cff03e6fbfb76
parentff204963cbcd7c68d59f3bba5bfa2797ea0cebae
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
include/llvm/ADT/FoldingSet.h