Fix VS2012 build; C++11 type aliases are not supported.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hans Wennborg 2014-10-22 17:47:49 +00:00
parent 6683239469
commit 72536bca1e

View File

@ -32,7 +32,8 @@ using namespace llvm;
#define DEBUG_TYPE "hexagon-disassembler"
using DecodeStatus = MCDisassembler::DecodeStatus;
// Pull DecodeStatus and its enum values into the global namespace.
typedef llvm::MCDisassembler::DecodeStatus DecodeStatus;
namespace {
/// \brief Hexagon disassembler for all Hexagon platforms.