summaryrefslogtreecommitdiffstats
path: root/llvm/tools/dsymutil/DebugMap.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2015-06-05 21:21:57 +0000
committerFrederic Riss <friss@apple.com>2015-06-05 21:21:57 +0000
commita81e88141ecce1898768bef16d6e59576bedf2a2 (patch)
tree36a0f15077c1f61694c2f394fe94deddb4c8a461 /llvm/tools/dsymutil/DebugMap.cpp
parent4f5874a51f2068ad106e08b7fc6378f4ab5ceaae (diff)
downloadbcm5719-llvm-a81e88141ecce1898768bef16d6e59576bedf2a2.tar.gz
bcm5719-llvm-a81e88141ecce1898768bef16d6e59576bedf2a2.zip
[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
Diffstat (limited to 'llvm/tools/dsymutil/DebugMap.cpp')
-rw-r--r--llvm/tools/dsymutil/DebugMap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/dsymutil/DebugMap.cpp b/llvm/tools/dsymutil/DebugMap.cpp
index 6a8e49ca86f..1a81848847f 100644
--- a/llvm/tools/dsymutil/DebugMap.cpp
+++ b/llvm/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<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(
OpenPOWER on IntegriCloud