summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/DebugInfo/DWARFFormValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/DebugInfo/DWARFFormValue.h')
-rw-r--r--llvm/include/llvm/DebugInfo/DWARFFormValue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/DebugInfo/DWARFFormValue.h b/llvm/include/llvm/DebugInfo/DWARFFormValue.h
index 533d2593b18..d517a72d62e 100644
--- a/llvm/include/llvm/DebugInfo/DWARFFormValue.h
+++ b/llvm/include/llvm/DebugInfo/DWARFFormValue.h
@@ -36,7 +36,7 @@ public:
private:
struct ValueType {
- ValueType() : data(NULL) {
+ ValueType() : data(nullptr) {
uval = 0;
}
@@ -60,7 +60,7 @@ public:
bool extractValue(DataExtractor data, uint32_t *offset_ptr,
const DWARFUnit *u);
bool isInlinedCStr() const {
- return Value.data != NULL && Value.data == (const uint8_t*)Value.cstr;
+ return Value.data != nullptr && Value.data == (const uint8_t*)Value.cstr;
}
/// getAsFoo functions below return the extracted value as Foo if only
OpenPOWER on IntegriCloud