Fix anonymous namespace issue introduced by r166714:
authorKaelyn Uhrain <rikka@google.com>
Thu, 25 Oct 2012 22:09:49 +0000 (22:09 +0000)
committerKaelyn Uhrain <rikka@google.com>
Thu, 25 Oct 2012 22:09:49 +0000 (22:09 +0000)
include/llvm/MC/MCTargetAsmParser.h:46:8: error: 'llvm::ParseInstructionInfo' has a field 'llvm::ParseInstructionInfo::AsmRewrites' whose type uses the anonymous namespace [-Werror]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166729 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCTargetAsmParser.h

index 97ca78527e5eda494179aabbb04a4649ed6ec382..838372380aa47fbf223913df1bdf81d67247e55d 100644 (file)
@@ -21,7 +21,6 @@ class MCParsedAsmOperand;
 class MCInst;
 template <typename T> class SmallVectorImpl;
 
-namespace {
 enum AsmRewriteKind {
    AOK_Imm,
    AOK_Input,
@@ -41,7 +40,6 @@ public:
   AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len, unsigned val = 0)
     : Kind(kind), Loc(loc), Len(len), Val(val) {}
 };
-}
 
 struct ParseInstructionInfo {