From: Alexandre Ganea Date: Thu, 27 Jun 2019 20:46:11 +0000 (+0000) Subject: Convert line endings to LF. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=891342a33f1290c58295f6f082c6e28f63df8cc6;p=llvm Convert line endings to LF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364590 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/CodeView/TypeHashing.h b/include/llvm/DebugInfo/CodeView/TypeHashing.h index c2fbff64ceb..b0a16cccbff 100644 --- a/include/llvm/DebugInfo/CodeView/TypeHashing.h +++ b/include/llvm/DebugInfo/CodeView/TypeHashing.h @@ -84,7 +84,7 @@ struct GloballyHashedType { } std::array 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 static std::vector hashTypes(Range &&Records) { std::vector 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;