[llvm-commits] [llvm] r166729 - /llvm/trunk/include/llvm/MC/MCTargetAsmParser.h
Kaelyn Uhrain
rikka at google.com
Thu Oct 25 15:09:49 PDT 2012
Author: rikka
Date: Thu Oct 25 17:09:49 2012
New Revision: 166729
URL: http://llvm.org/viewvc/llvm-project?rev=166729&view=rev
Log:
Fix anonymous namespace issue introduced by r166714:
include/llvm/MC/MCTargetAsmParser.h:46:8: error: 'llvm::ParseInstructionInfo' has a field 'llvm::ParseInstructionInfo::AsmRewrites' whose type uses the anonymous namespace [-Werror]
Modified:
llvm/trunk/include/llvm/MC/MCTargetAsmParser.h
Modified: llvm/trunk/include/llvm/MC/MCTargetAsmParser.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCTargetAsmParser.h?rev=166729&r1=166728&r2=166729&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCTargetAsmParser.h (original)
+++ llvm/trunk/include/llvm/MC/MCTargetAsmParser.h Thu Oct 25 17:09:49 2012
@@ -21,7 +21,6 @@
class MCInst;
template <typename T> class SmallVectorImpl;
-namespace {
enum AsmRewriteKind {
AOK_Imm,
AOK_Input,
@@ -41,7 +40,6 @@
AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len, unsigned val = 0)
: Kind(kind), Loc(loc), Len(len), Val(val) {}
};
-}
struct ParseInstructionInfo {
More information about the llvm-commits
mailing list