Eliminate "const" from extern const to fix breakeage since r135184 on msvc.

MSVC decorates (and distinguishes) "const" in mangler. It brought linkage error between "extern const" declarations and definitions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi
2011-07-15 12:50:21 +00:00
parent a4a1671d81
commit 20722b6cda
5 changed files with 10 additions and 10 deletions

View File

@ -72,7 +72,7 @@
///
namespace llvm {
extern const MCInstrDesc ARMInsts[];
extern MCInstrDesc ARMInsts[];
}
using namespace llvm;