projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dfc993
)
[MC] Replace NULL constant in code with nullptr.
author
Craig Topper
<craig.topper@intel.com>
Tue, 25 Sep 2018 18:33:00 +0000
(18:33 +0000)
committer
Craig Topper
<craig.topper@intel.com>
Tue, 25 Sep 2018 18:33:00 +0000
(18:33 +0000)
llvm-svn: 343003
llvm/lib/MC/MCParser/AsmParser.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/MC/MCParser/AsmParser.cpp
b/llvm/lib/MC/MCParser/AsmParser.cpp
index
3855feb
..
4d4ea97
100644
(file)
--- a/
llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/
llvm/lib/MC/MCParser/AsmParser.cpp
@@
-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') &&