1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

fix typos; NFC

llvm-svn: 234171
This commit is contained in:
Sanjay Patel 2015-04-06 16:21:12 +00:00
parent fd9484628a
commit 2458a92e2b

View File

@ -51,8 +51,8 @@ bool FoldingSetNodeIDRef::operator<(FoldingSetNodeIDRef RHS) const {
/// ///
void FoldingSetNodeID::AddPointer(const void *Ptr) { void FoldingSetNodeID::AddPointer(const void *Ptr) {
// Note: this adds pointers to the hash using sizes and endianness that // Note: this adds pointers to the hash using sizes and endianness that
// depend on the host. It doesn't matter however, because hashing on // depend on the host. It doesn't matter, however, because hashing on
// pointer values in inherently unstable. Nothing should depend on the // pointer values is inherently unstable. Nothing should depend on the
// ordering of nodes in the folding set. // ordering of nodes in the folding set.
Bits.append(reinterpret_cast<unsigned *>(&Ptr), Bits.append(reinterpret_cast<unsigned *>(&Ptr),
reinterpret_cast<unsigned *>(&Ptr+1)); reinterpret_cast<unsigned *>(&Ptr+1));