From d89d0c77596b6cd1c3d00d7202e3919e0fea8e70 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. llvm-svn: 292537 --- 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;