From a84f88662172ede802d80feb93db443c4acf38c4 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 19 Jan 2017 23:41:11 +0000 Subject: [PATCH] Fix incorrectly formed assert statement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292537 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/PDB/Raw/HashTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DebugInfo/PDB/Raw/HashTable.cpp b/lib/DebugInfo/PDB/Raw/HashTable.cpp index cc83174a4d8..68dbbd08853 100644 --- a/lib/DebugInfo/PDB/Raw/HashTable.cpp +++ b/lib/DebugInfo/PDB/Raw/HashTable.cpp @@ -181,7 +181,7 @@ void HashTable::grow() { uint32_t S = size(); if (S < maxLoad(capacity())) return; - assert(capacity() != UINT32_MAX, "Can't grow Hash table!"); + assert(capacity() != UINT32_MAX && "Can't grow Hash table!"); uint32_t NewCapacity = (capacity() <= INT32_MAX) ? capacity() * 2 : UINT32_MAX; -- 2.50.1