diff options
Diffstat (limited to 'source/Breakpoint/BreakpointResolverAddress.cpp')
-rw-r--r-- | source/Breakpoint/BreakpointResolverAddress.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/source/Breakpoint/BreakpointResolverAddress.cpp b/source/Breakpoint/BreakpointResolverAddress.cpp index 3084ce41e8e3..8a6fd6a2692c 100644 --- a/source/Breakpoint/BreakpointResolverAddress.cpp +++ b/source/Breakpoint/BreakpointResolverAddress.cpp @@ -1,9 +1,8 @@ //===-- BreakpointResolverAddress.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 // //===----------------------------------------------------------------------===// @@ -21,9 +20,7 @@ using namespace lldb; using namespace lldb_private; -//---------------------------------------------------------------------- // BreakpointResolverAddress: -//---------------------------------------------------------------------- BreakpointResolverAddress::BreakpointResolverAddress( Breakpoint *bkpt, const Address &addr, const FileSpec &module_spec) : BreakpointResolver(bkpt, BreakpointResolver::AddressResolver), @@ -127,7 +124,7 @@ Searcher::CallbackReturn BreakpointResolverAddress::SearchCallback(SearchFilter &filter, SymbolContext &context, Address *addr, bool containing) { - assert(m_breakpoint != NULL); + assert(m_breakpoint != nullptr); if (filter.AddressPasses(m_addr)) { if (m_breakpoint->GetNumLocations() == 0) { |