[PATCH] D53425: Fix modules build of AVRAsmParser.cpp
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 02:57:22 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL346750: Fix modules build of AVRAsmParser.cpp (authored by arichardson, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D53425
Files:
llvm/trunk/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
Index: llvm/trunk/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
===================================================================
--- llvm/trunk/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
+++ llvm/trunk/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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53425.173826.patch
Type: text/x-patch
Size: 735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181113/e94021f1/attachment.bin>
More information about the llvm-commits
mailing list