From 7bef4c48d6cc677446c4e765663431c5132682f3 Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Fri, 5 Jun 2015 21:21:57 +0000 Subject: [PATCH] [dsymutil] Rename a variable to appease some bots. Anyway having the type and the name of the member being the same thing wasn't the wisest of the choices. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239190 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/dsymutil/DebugMap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/dsymutil/DebugMap.cpp b/tools/dsymutil/DebugMap.cpp index 6a8e49ca86f..1a81848847f 100644 --- a/tools/dsymutil/DebugMap.cpp +++ b/tools/dsymutil/DebugMap.cpp @@ -91,7 +91,7 @@ void DebugMap::dump() const { print(errs()); } namespace { struct YAMLContext { StringRef PrependPath; - Triple Triple; + Triple BinaryTriple; }; } @@ -176,7 +176,7 @@ void MappingTraits::mapping(IO &io, io.mapRequired("triple", DM.BinaryTriple); io.mapOptional("objects", DM.Objects); if (void *Ctxt = io.getContext()) - reinterpret_cast(Ctxt)->Triple = DM.BinaryTriple; + reinterpret_cast(Ctxt)->BinaryTriple = DM.BinaryTriple; } void MappingTraits>::mapping( @@ -186,7 +186,7 @@ void MappingTraits>::mapping( io.mapRequired("triple", DM->BinaryTriple); io.mapOptional("objects", DM->Objects); if (void *Ctxt = io.getContext()) - reinterpret_cast(Ctxt)->Triple = DM->BinaryTriple; + reinterpret_cast(Ctxt)->BinaryTriple = DM->BinaryTriple; } MappingTraits::YamlDMO::YamlDMO( -- 2.34.1