Index: lib/Target/AVR/AsmParser/AVRAsmParser.cpp =================================================================== --- lib/Target/AVR/AsmParser/AVRAsmParser.cpp +++ lib/Target/AVR/AsmParser/AVRAsmParser.cpp @@ -34,8 +34,9 @@ #define DEBUG_TYPE "avr-asm-parser" -namespace llvm { +using namespace llvm; +namespace { /// Parses AVR assembly from a stream. class AVRAsmParser : public MCTargetAsmParser { const MCSubtargetInfo &STI; @@ -245,6 +246,8 @@ } }; +} // end anonymous namespace. + // Auto-generated Match Functions /// Maps from the set of all register names to a register number. @@ -708,5 +711,3 @@ } return Match_InvalidOperand; } - -} // end of namespace llvm