[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.

llvm-svn: 239190
This commit is contained in:
Frederic Riss 2015-06-05 21:21:57 +00:00
parent 4f5874a51f
commit a81e88141e
1 changed files with 3 additions and 3 deletions

View File

@ -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<dsymutil::DebugMap>::mapping(IO &io,
io.mapRequired("triple", DM.BinaryTriple);
io.mapOptional("objects", DM.Objects);
if (void *Ctxt = io.getContext())
reinterpret_cast<YAMLContext *>(Ctxt)->Triple = DM.BinaryTriple;
reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM.BinaryTriple;
}
void MappingTraits<std::unique_ptr<dsymutil::DebugMap>>::mapping(
@ -186,7 +186,7 @@ void MappingTraits<std::unique_ptr<dsymutil::DebugMap>>::mapping(
io.mapRequired("triple", DM->BinaryTriple);
io.mapOptional("objects", DM->Objects);
if (void *Ctxt = io.getContext())
reinterpret_cast<YAMLContext *>(Ctxt)->Triple = DM->BinaryTriple;
reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM->BinaryTriple;
}
MappingTraits<dsymutil::DebugMapObject>::YamlDMO::YamlDMO(