]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blobdiff - lib/DebugInfo/DWARFUnit.h
[C++] Use 'nullptr'.
[opencl/llvm.git] / lib / DebugInfo / DWARFUnit.h
index 374eceaed2db14cb17e010aad93ba5d505bac990..471da36af1cf01b34c06dc799406043745496015 100644 (file)
@@ -118,7 +118,7 @@ public:
   const DWARFDebugInfoEntryMinimal *
   getCompileUnitDIE(bool extract_cu_die_only = true) {
     extractDIEsIfNeeded(extract_cu_die_only);
-    return DieArray.empty() ? NULL : &DieArray[0];
+    return DieArray.empty() ? nullptr : &DieArray[0];
   }
 
   const char *getCompilationDir();