diff options
Diffstat (limited to 'source/Utility/StringLexer.cpp')
-rw-r--r-- | source/Utility/StringLexer.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source/Utility/StringLexer.cpp b/source/Utility/StringLexer.cpp index d5c7fc628988..958a9580db7a 100644 --- a/source/Utility/StringLexer.cpp +++ b/source/Utility/StringLexer.cpp @@ -1,9 +1,8 @@ //===--------------------- StringLexer.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 // //===----------------------------------------------------------------------===// @@ -16,9 +15,6 @@ using namespace lldb_utility; StringLexer::StringLexer(std::string s) : m_data(s), m_position(0) {} -StringLexer::StringLexer(const StringLexer &rhs) - : m_data(rhs.m_data), m_position(rhs.m_position) {} - StringLexer::Character StringLexer::Peek() { return m_data[m_position]; } bool StringLexer::NextIf(Character c) { |