diff options
Diffstat (limited to 'source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp')
-rw-r--r-- | source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp b/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp index dbaf0b0ed127..a664314035e4 100644 --- a/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp +++ b/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp @@ -1,9 +1,8 @@ //===-- DWARFDeclContext.cpp ------------------------------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -30,7 +29,7 @@ const char *DWARFDeclContext::GetQualifiedName() const { for (pos = begin; pos != end; ++pos) { if (pos != begin) m_qualified_name.append("::"); - if (pos->name == NULL) { + if (pos->name == nullptr) { if (pos->tag == DW_TAG_namespace) m_qualified_name.append("(anonymous namespace)"); else if (pos->tag == DW_TAG_class_type) @@ -48,7 +47,7 @@ const char *DWARFDeclContext::GetQualifiedName() const { } } if (m_qualified_name.empty()) - return NULL; + return nullptr; return m_qualified_name.c_str(); } |