[llvm] r234171 - fix typos; NFC

Sanjay Patel spatel at rotateright.com
Mon Apr 6 09:21:13 PDT 2015


Author: spatel
Date: Mon Apr  6 11:21:12 2015
New Revision: 234171

URL: http://llvm.org/viewvc/llvm-project?rev=234171&view=rev
Log:
fix typos; NFC

Modified:
    llvm/trunk/lib/Support/FoldingSet.cpp

Modified: llvm/trunk/lib/Support/FoldingSet.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/FoldingSet.cpp?rev=234171&r1=234170&r2=234171&view=diff
==============================================================================
--- llvm/trunk/lib/Support/FoldingSet.cpp (original)
+++ llvm/trunk/lib/Support/FoldingSet.cpp Mon Apr  6 11:21:12 2015
@@ -51,8 +51,8 @@ bool FoldingSetNodeIDRef::operator<(Fold
 ///
 void FoldingSetNodeID::AddPointer(const void *Ptr) {
   // Note: this adds pointers to the hash using sizes and endianness that
-  // depend on the host.  It doesn't matter however, because hashing on
-  // pointer values in inherently unstable.  Nothing  should depend on the 
+  // depend on the host. It doesn't matter, however, because hashing on
+  // pointer values is inherently unstable. Nothing should depend on the
   // ordering of nodes in the folding set.
   Bits.append(reinterpret_cast<unsigned *>(&Ptr),
               reinterpret_cast<unsigned *>(&Ptr+1));





More information about the llvm-commits mailing list