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 /lib | |
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 'lib')
-rw-r--r-- | lib/Object/ELFYAML.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Object/ELFYAML.cpp b/lib/Object/ELFYAML.cpp index c4f3fc1..fcd4091 100644 --- a/lib/Object/ELFYAML.cpp +++ b/lib/Object/ELFYAML.cpp @@ -212,16 +212,16 @@ void ScalarEnumerationTraits<ELFYAML::ELF_ELFDATA>::enumeration( #undef ECase } -void MappingTraits<ELFYAML::Header>::mapping(IO &IO, ELFYAML::Header &Header) { - IO.mapRequired("Class", Header.Class); - IO.mapRequired("Data", Header.Data); - IO.mapRequired("Type", Header.Type); - IO.mapRequired("Machine", Header.Machine); - IO.mapOptional("Entry", Header.Entry, Hex64(0)); +void MappingTraits<ELFYAML::FileHeader>::mapping(IO &IO, ELFYAML::FileHeader &FileHdr) { + IO.mapRequired("Class", FileHdr.Class); + IO.mapRequired("Data", FileHdr.Data); + IO.mapRequired("Type", FileHdr.Type); + IO.mapRequired("Machine", FileHdr.Machine); + IO.mapOptional("Entry", FileHdr.Entry, Hex64(0)); } void MappingTraits<ELFYAML::Object>::mapping(IO &IO, ELFYAML::Object &Object) { - IO.mapRequired("Header", Object.Header); + IO.mapRequired("FileHeader", Object.Header); } } // end namespace yaml |