FoldingSet: Make FoldingSetImpl's dtor protected and non-virtual
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 22 Mar 2015 18:22:33 +0000 (18:22 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 22 Mar 2015 18:22:33 +0000 (18:22 +0000)
commit00edfaecf079bd80ed9d26f6e97fcdfc936c6937
treed6670bf92fa30663e86ab6ebbd081c4b93dfb270
parent031fbaeb296558e343ddc302d169f2b2673f58f5
FoldingSet: Make FoldingSetImpl's dtor protected and non-virtual

It's not intended to be polymorphically deleted. Make FoldingSet
and ContextualFoldingSet final to avoid noise from -Wnon-virtual-dtor.

No functional change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232922 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/FoldingSet.h
lib/Support/FoldingSet.cpp