[llvm] r364590 - Convert line endings to LF.

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 13:46:11 PDT 2019


Author: aganea
Date: Thu Jun 27 13:46:11 2019
New Revision: 364590

URL: http://llvm.org/viewvc/llvm-project?rev=364590&view=rev
Log:
Convert line endings to LF.

Modified:
    llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h

Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h?rev=364590&r1=364589&r2=364590&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h Thu Jun 27 13:46:11 2019
@@ -84,7 +84,7 @@ struct GloballyHashedType {
   }
   std::array<uint8_t, 8> Hash;
 
-  bool empty() const { return *(const uint64_t*)Hash.data() == 0; }
+  bool empty() const { return *(const uint64_t*)Hash.data() == 0; }
 
   /// Given a sequence of bytes representing a record, compute a global hash for
   /// this record.  Due to the nature of global hashes incorporating the hashes
@@ -109,8 +109,8 @@ struct GloballyHashedType {
   template <typename Range>
   static std::vector<GloballyHashedType> hashTypes(Range &&Records) {
     std::vector<GloballyHashedType> Hashes;
-    bool UnresolvedRecords = false;
-    for (const auto &R : Records) {
+    bool UnresolvedRecords = false;
+    for (const auto &R : Records) {
       GloballyHashedType H = hashType(R, Hashes, Hashes);
       if (H.empty())
         UnresolvedRecords = true;




More information about the llvm-commits mailing list