[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
llvm-svn: 206252
This commit is contained in:
@@ -315,7 +315,7 @@ bool BitstreamCursor::ReadBlockInfoBlock() {
|
||||
if (EnterSubBlock(bitc::BLOCKINFO_BLOCK_ID)) return true;
|
||||
|
||||
SmallVector<uint64_t, 64> Record;
|
||||
BitstreamReader::BlockInfo *CurBlockInfo = 0;
|
||||
BitstreamReader::BlockInfo *CurBlockInfo = nullptr;
|
||||
|
||||
// Read all the records for this module.
|
||||
while (1) {
|
||||
|
||||
Reference in New Issue
Block a user