SmallSet/SmallPtrSet: Refuse huge Small numbers

Description

SmallSet/SmallPtrSet: Refuse huge Small numbers

These sets do linear searching in small mode; It is not a good idea to
use huge numbers as the small value here, save people from themselves by
adding a static_assert.

Differential Revision: http://reviews.llvm.org/D16706

Details

Committed
matzeFeb 1 2016, 2:05 PM
Differential Revision
D16706: SmallSet/SmallPtrSet: Refuse huge SmallSize/N numbers
Parents
rL259418: Undoing commit r259366 to debug buildbot failure.
Branches
Unknown
Tags
Unknown