diff options
author | Sean Silva <silvas@purdue.edu> | 2013-06-11 00:13:52 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2013-06-11 00:13:52 +0000 |
commit | 457c8ebfd070eb7ee840ec97142f975974cfc834 (patch) | |
tree | 54184817e7197b1d96caeaaf79f92d545980910e /include | |
parent | 981aec814c4e0b44636547422dab5955e4065077 (diff) | |
download | external_llvm-457c8ebfd070eb7ee840ec97142f975974cfc834.zip external_llvm-457c8ebfd070eb7ee840ec97142f975974cfc834.tar.gz external_llvm-457c8ebfd070eb7ee840ec97142f975974cfc834.tar.bz2 |
Fix dubious type name similar to member name.
Should bring bots back to life.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Object/ELFYAML.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Object/ELFYAML.h b/include/llvm/Object/ELFYAML.h index d0067ca..029a8ab 100644 --- a/include/llvm/Object/ELFYAML.h +++ b/include/llvm/Object/ELFYAML.h @@ -39,7 +39,7 @@ LLVM_YAML_STRONG_TYPEDEF(uint8_t, ELF_ELFDATA) // For now, hardcode 64 bits everywhere that 32 or 64 would be needed // since 64-bit can hold 32-bit values too. -struct Header { +struct FileHeader { ELF_ELFCLASS Class; ELF_ELFDATA Data; ELF_ET Type; @@ -47,7 +47,7 @@ struct Header { llvm::yaml::Hex64 Entry; }; struct Object { - Header Header; + FileHeader Header; }; } // end namespace ELFYAML @@ -77,8 +77,8 @@ struct ScalarEnumerationTraits<ELFYAML::ELF_ELFDATA> { }; template <> -struct MappingTraits<ELFYAML::Header> { - static void mapping(IO &IO, ELFYAML::Header &Header); +struct MappingTraits<ELFYAML::FileHeader> { + static void mapping(IO &IO, ELFYAML::FileHeader &FileHdr); }; template <> |