mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
[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
This commit is contained in:
parent
dfbf8971ca
commit
7bef4c48d6
@ -91,7 +91,7 @@ void DebugMap::dump() const { print(errs()); }
|
|||||||
namespace {
|
namespace {
|
||||||
struct YAMLContext {
|
struct YAMLContext {
|
||||||
StringRef PrependPath;
|
StringRef PrependPath;
|
||||||
Triple Triple;
|
Triple BinaryTriple;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,7 +176,7 @@ void MappingTraits<dsymutil::DebugMap>::mapping(IO &io,
|
|||||||
io.mapRequired("triple", DM.BinaryTriple);
|
io.mapRequired("triple", DM.BinaryTriple);
|
||||||
io.mapOptional("objects", DM.Objects);
|
io.mapOptional("objects", DM.Objects);
|
||||||
if (void *Ctxt = io.getContext())
|
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(
|
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.mapRequired("triple", DM->BinaryTriple);
|
||||||
io.mapOptional("objects", DM->Objects);
|
io.mapOptional("objects", DM->Objects);
|
||||||
if (void *Ctxt = io.getContext())
|
if (void *Ctxt = io.getContext())
|
||||||
reinterpret_cast<YAMLContext *>(Ctxt)->Triple = DM->BinaryTriple;
|
reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM->BinaryTriple;
|
||||||
}
|
}
|
||||||
|
|
||||||
MappingTraits<dsymutil::DebugMapObject>::YamlDMO::YamlDMO(
|
MappingTraits<dsymutil::DebugMapObject>::YamlDMO::YamlDMO(
|
||||||
|
Loading…
Reference in New Issue
Block a user