From: Zachary Turner Date: Thu, 19 Jan 2017 23:41:11 +0000 (+0000) Subject: Fix incorrectly formed assert statement. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a84f88662172ede802d80feb93db443c4acf38c4;p=llvm Fix incorrectly formed assert statement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292537 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;