diff options
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h')
| -rw-r--r-- | contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h | 15 | 
1 files changed, 5 insertions, 10 deletions
diff --git a/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h b/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h index 3c8ca96e81f6..d30e56080732 100644 --- a/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h +++ b/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h @@ -1,9 +1,8 @@  //===-- CPlusPlusLanguage.h -------------------------------------*- 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  //  //===----------------------------------------------------------------------===// @@ -32,7 +31,7 @@ public:          : m_full(), m_basename(), m_context(), m_arguments(), m_qualifiers(),            m_parsed(false), m_parse_error(false) {} -    MethodName(const ConstString &s) +    MethodName(ConstString s)          : m_full(s), m_basename(), m_context(), m_arguments(), m_qualifiers(),            m_parsed(false), m_parse_error(false) {} @@ -46,7 +45,7 @@ public:        return (bool)m_full;      } -    const ConstString &GetFullName() const { return m_full; } +    ConstString GetFullName() const { return m_full; }      std::string GetScopeQualifiedName(); @@ -93,9 +92,7 @@ public:    const Highlighter *GetHighlighter() const override { return &m_highlighter; } -  //------------------------------------------------------------------    // Static Functions -  //------------------------------------------------------------------    static void Initialize();    static void Terminate(); @@ -128,9 +125,7 @@ public:    FindAlternateFunctionManglings(const ConstString mangled,                                   std::set<ConstString> &candidates); -  //------------------------------------------------------------------    // PluginInterface protocol -  //------------------------------------------------------------------    ConstString GetPluginName() override;    uint32_t GetPluginVersion() override;  | 
