1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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

llvm-svn: 220399
This commit is contained in:
Hans Wennborg 2014-10-22 17:47:49 +00:00
parent f359444940
commit dbfab2bba5

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.