From 457c8ebfd070eb7ee840ec97142f975974cfc834 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Tue, 11 Jun 2013 00:13:52 +0000 Subject: 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 --- lib/Object/ELFYAML.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib') 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::enumeration( #undef ECase } -void MappingTraits::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::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::mapping(IO &IO, ELFYAML::Object &Object) { - IO.mapRequired("Header", Object.Header); + IO.mapRequired("FileHeader", Object.Header); } } // end namespace yaml -- cgit v1.1