diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-07-10 22:46:02 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-07-10 22:46:02 +0000 |
commit | a5c7051a60066958ec62503e637e6b58b774cbe0 (patch) | |
tree | b30346defc8ea3cb289f3b3629426a76e198b1f4 /llvm/lib/IR/Value.cpp | |
parent | 754e21f24462b5690707580d5f14220ea363ee19 (diff) | |
download | llvm-a5c7051a60066958ec62503e637e6b58b774cbe0.zip llvm-a5c7051a60066958ec62503e637e6b58b774cbe0.tar.gz llvm-a5c7051a60066958ec62503e637e6b58b774cbe0.tar.bz2 |
[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.
llvm-svn: 241958
Diffstat (limited to 'llvm/lib/IR/Value.cpp')
-rw-r--r-- | llvm/lib/IR/Value.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp index 78d1adb..f554d59 100644 --- a/llvm/lib/IR/Value.cpp +++ b/llvm/lib/IR/Value.cpp @@ -39,8 +39,6 @@ using namespace llvm; //===----------------------------------------------------------------------===// // Value Class //===----------------------------------------------------------------------===// -const unsigned Value::NumUserOperandsBits; - static inline Type *checkType(Type *Ty) { assert(Ty && "Value defined with a null type: Error!"); return Ty; |