[IR] Switch static const to an enum to silence MSVC linker warnings
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 10 Jul 2015 22:46:02 +0000 (22:46 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 10 Jul 2015 22:46:02 +0000 (22:46 +0000)
commitc3b47b30ab9b12a7f25125b69319ba57d5a727db
tree30fb44ba58d3a3c2374a64518d16d188a25b247e
parent16859aa24261e91923533c0d9f4b661e8850fa2d
[IR] Switch static const to an enum to silence MSVC linker warnings

Integral class statics are handled oddly in MSVC, we don't need them
in this case, use an enum instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241958 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Value.h
lib/IR/Value.cpp