[MC] Replace NULL constant in code with nullptr.

llvm-svn: 343003
This commit is contained in:
Craig Topper 2018-09-25 18:33:00 +00:00
parent 3dfc993437
commit c06ee8367a
1 changed files with 1 additions and 1 deletions

View File

@ -1327,7 +1327,7 @@ AsmParser::applyModifierToExpr(const MCExpr *E,
/// GCC does not fully support this feature and so we will not support it.
/// TODO: Adding single quote as a string.
bool AsmParser::isAltmacroString(SMLoc &StrLoc, SMLoc &EndLoc) {
assert((StrLoc.getPointer() != NULL) &&
assert((StrLoc.getPointer() != nullptr) &&
"Argument to the function cannot be a NULL value");
const char *CharPtr = StrLoc.getPointer();
while ((*CharPtr != '>') && (*CharPtr != '\n') && (*CharPtr != '\r') &&