diff options
Diffstat (limited to 'source/Breakpoint/BreakpointResolverFileLine.cpp')
| -rw-r--r-- | source/Breakpoint/BreakpointResolverFileLine.cpp | 11 | 
1 files changed, 4 insertions, 7 deletions
diff --git a/source/Breakpoint/BreakpointResolverFileLine.cpp b/source/Breakpoint/BreakpointResolverFileLine.cpp index 438f430bd2a5..a6095be31647 100644 --- a/source/Breakpoint/BreakpointResolverFileLine.cpp +++ b/source/Breakpoint/BreakpointResolverFileLine.cpp @@ -1,9 +1,8 @@  //===-- BreakpointResolverFileLine.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  //  //===----------------------------------------------------------------------===// @@ -19,9 +18,7 @@  using namespace lldb;  using namespace lldb_private; -//----------------------------------------------------------------------  // BreakpointResolverFileLine: -//----------------------------------------------------------------------  BreakpointResolverFileLine::BreakpointResolverFileLine(      Breakpoint *bkpt, const FileSpec &file_spec, uint32_t line_no,      uint32_t column, lldb::addr_t offset, bool check_inlines, @@ -207,7 +204,7 @@ BreakpointResolverFileLine::SearchCallback(SearchFilter &filter,                                             Address *addr, bool containing) {    SymbolContextList sc_list; -  assert(m_breakpoint != NULL); +  assert(m_breakpoint != nullptr);    // There is a tricky bit here.  You can have two compilation units that    // #include the same file, and in one of them the function at m_line_number  | 
