diff options
| author | Zachary Turner <zturner@google.com> | 2017-01-19 23:41:11 +0000 | 
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-01-19 23:41:11 +0000 | 
| commit | d54deaee6c6b5666dde3cdeba9d64323887a284e (patch) | |
| tree | 3c3c40b103f2f8a668bd4e5d381cc816712aa3d9 /llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp | |
| parent | 853e3337db43ff8bb067cb70e19b904387efe1a7 (diff) | |
| download | bcm5719-llvm-d54deaee6c6b5666dde3cdeba9d64323887a284e.tar.gz bcm5719-llvm-d54deaee6c6b5666dde3cdeba9d64323887a284e.zip | |
Fix incorrectly formed assert statement.
llvm-svn: 292537
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp b/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp index cc83174a4d8..68dbbd08853 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp +++ b/llvm/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; | 

