diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-07-10 21:50:04 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-07-10 21:50:04 +0000 |
commit | 3f0a0e4a282edcc7c0fb67c8021c1b4e7a076d07 (patch) | |
tree | 7fecb100c57e6853a3bd571adaac03a083d8ab69 /llvm/lib/MC/MCSymbol.cpp | |
parent | 9503501dae4963322389bf2f9403bbef794e4de5 (diff) | |
download | bcm5719-llvm-3f0a0e4a282edcc7c0fb67c8021c1b4e7a076d07.tar.gz bcm5719-llvm-3f0a0e4a282edcc7c0fb67c8021c1b4e7a076d07.zip |
[MC] 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: 241945
Diffstat (limited to 'llvm/lib/MC/MCSymbol.cpp')
-rw-r--r-- | llvm/lib/MC/MCSymbol.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCSymbol.cpp b/llvm/lib/MC/MCSymbol.cpp index affc57471fd..125380a9d14 100644 --- a/llvm/lib/MC/MCSymbol.cpp +++ b/llvm/lib/MC/MCSymbol.cpp @@ -19,9 +19,6 @@ using namespace llvm; // Sentinel value for the absolute pseudo section. MCSection *MCSymbol::AbsolutePseudoSection = reinterpret_cast<MCSection *>(1); -const unsigned MCSymbol::NumCommonAlignmentBits; -const unsigned MCSymbol::NumFlagsBits; - void *MCSymbol::operator new(size_t s, const StringMapEntry<bool> *Name, MCContext &Ctx) { // We may need more space for a Name to account for alignment. So allocate |