[llvm] r204450 - [mips] Update namespace.
Matheus Almeida
matheus.almeida at imgtec.com
Fri Mar 21 03:35:15 PDT 2014
Author: matheusalmeida
Date: Fri Mar 21 05:35:14 2014
New Revision: 204450
URL: http://llvm.org/viewvc/llvm-project?rev=204450&view=rev
Log:
[mips] Update namespace.
We should be using the llvm namespace and not an anonymous namespace
in a header file.
Modified:
llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h
Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h?rev=204450&r1=204449&r2=204450&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h Fri Mar 21 05:35:14 2014
@@ -20,7 +20,6 @@
using namespace llvm;
-// Forward declarations.
namespace llvm {
class MCContext;
class MCExpr;
@@ -30,9 +29,6 @@ class MCFixup;
class MCOperand;
class MCSubtargetInfo;
class raw_ostream;
-}
-
-namespace {
class MipsMCCodeEmitter : public MCCodeEmitter {
MipsMCCodeEmitter(const MipsMCCodeEmitter &) LLVM_DELETED_FUNCTION;
@@ -124,6 +120,6 @@ public:
const MCSubtargetInfo &STI) const;
}; // class MipsMCCodeEmitter
-} // namespace
+} // namespace llvm.
#endif
More information about the llvm-commits
mailing list