mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Namespace cleanup (no functional change)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213478 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a3c3e9a15
commit
c543b262e1
@ -27,17 +27,15 @@
|
||||
using namespace llvm;
|
||||
using namespace object;
|
||||
|
||||
namespace llvm {
|
||||
|
||||
namespace object {
|
||||
|
||||
namespace {
|
||||
struct section_base {
|
||||
char sectname[16];
|
||||
char segname[16];
|
||||
};
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
T getStruct(const MachOObjectFile *O, const char *P) {
|
||||
static T getStruct(const MachOObjectFile *O, const char *P) {
|
||||
T Cmd;
|
||||
memcpy(&Cmd, P, sizeof(T));
|
||||
if (O->isLittleEndian() != sys::IsLittleEndianHost)
|
||||
@ -1745,5 +1743,3 @@ ObjectFile::createMachOObjectFile(std::unique_ptr<MemoryBuffer> &Buffer) {
|
||||
return Ret.release();
|
||||
}
|
||||
|
||||
} // end namespace object
|
||||
} // end namespace llvm
|
||||
|
Loading…
x
Reference in New Issue
Block a user