projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++] Use 'nullptr'.
[oota-llvm.git]
/
lib
/
TableGen
/
TGParser.cpp
diff --git
a/lib/TableGen/TGParser.cpp
b/lib/TableGen/TGParser.cpp
index f94c6f62a4c7f7ea1e3ab989ecac2692644ea3d4..dd3a0967d1440550a54f0d5b9aab04702142edca 100644
(file)
--- a/
lib/TableGen/TGParser.cpp
+++ b/
lib/TableGen/TGParser.cpp
@@
-115,7
+115,7
@@
bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName,
// We should have a BitsInit type now.
BitsInit *BInit = dyn_cast<BitsInit>(BI);
- assert(BInit !=
0
);
+ assert(BInit !=
nullptr
);
SmallVector<Init *, 16> NewBits(CurVal->getNumBits());