Fix some code which is invalid in C++11: an expression of enumeration type
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Sep 2012 21:18:18 +0000 (21:18 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Sep 2012 21:18:18 +0000 (21:18 +0000)
commit0067567927b3dad6457158ebc51fedc7ed163cb6
tree2194e7dc19bf8d6686cad45db628207492b366d8
parent785a41d1388077aabb8f2a5e8e9352bf2a4fb692
Fix some code which is invalid in C++11: an expression of enumeration type
can't be used as a non-type template argument of type bool.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163840 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/type_traits.h