diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-01 14:34:24 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-01 14:34:24 +0000 |
commit | 0998627b24a1f183920e782abf717e25cbb1a5f5 (patch) | |
tree | 3a9a4aa224ad34da7c585cc94a8f0d3da93b6a4d /lib/Target/Mips | |
parent | 4ab6fcaadc55f7e6734925036f842d1ebd68fa89 (diff) |
Move MipsDisassembler classes into an anonymous namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155915 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/Disassembler/MipsDisassembler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Mips/Disassembler/MipsDisassembler.cpp b/lib/Target/Mips/Disassembler/MipsDisassembler.cpp index 78dbc06949..2f76d5f22a 100644 --- a/lib/Target/Mips/Disassembler/MipsDisassembler.cpp +++ b/lib/Target/Mips/Disassembler/MipsDisassembler.cpp @@ -29,6 +29,8 @@ using namespace llvm; typedef MCDisassembler::DecodeStatus DecodeStatus; +namespace { + /// MipsDisassembler - a disasembler class for Mips32. class MipsDisassembler : public MCDisassembler { public: @@ -84,6 +86,8 @@ private: bool isBigEndian; }; +} // end anonymous namespace + const EDInstInfo *MipsDisassembler::getEDInfo() const { return instInfoMips; } |