aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCRelocationInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCRelocationInfo.cpp')
-rw-r--r--lib/MC/MCRelocationInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCRelocationInfo.cpp b/lib/MC/MCRelocationInfo.cpp
index 7d2ec1f..a00c009 100644
--- a/lib/MC/MCRelocationInfo.cpp
+++ b/lib/MC/MCRelocationInfo.cpp
@@ -23,14 +23,14 @@ MCRelocationInfo::~MCRelocationInfo() {
const MCExpr *
MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) {
- return 0;
+ return nullptr;
}
const MCExpr *
MCRelocationInfo::createExprForCAPIVariantKind(const MCExpr *SubExpr,
unsigned VariantKind) {
if (VariantKind != LLVMDisassembler_VariantKind_None)
- return 0;
+ return nullptr;
return SubExpr;
}