]> granicus.if.org Git - llvm/commitdiff
Convert line endings to LF.
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 27 Jun 2019 20:46:11 +0000 (20:46 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 27 Jun 2019 20:46:11 +0000 (20:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364590 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo/CodeView/TypeHashing.h

index c2fbff64ceb8569c08df9f4c4f3e2b3820de1c76..b0a16cccbff3102879395fe0359015d259cfe8e8 100644 (file)
@@ -84,7 +84,7 @@ struct GloballyHashedType {
   }
   std::array<uint8_t, 8> Hash;
 
-  bool empty() const { return *(const uint64_t*)Hash.data() == 0; }\r
+  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;\r
-    for (const auto &R : Records) {\r
+    bool UnresolvedRecords = false;
+    for (const auto &R : Records) {
       GloballyHashedType H = hashType(R, Hashes, Hashes);
       if (H.empty())
         UnresolvedRecords = true;