summaryrefslogtreecommitdiff
path: root/tools/lldb-mi/MICmdArgContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lldb-mi/MICmdArgContext.cpp')
-rw-r--r--tools/lldb-mi/MICmdArgContext.cpp17
1 files changed, 3 insertions, 14 deletions
diff --git a/tools/lldb-mi/MICmdArgContext.cpp b/tools/lldb-mi/MICmdArgContext.cpp
index 57f682bea22a..18da5b5d67a3 100644
--- a/tools/lldb-mi/MICmdArgContext.cpp
+++ b/tools/lldb-mi/MICmdArgContext.cpp
@@ -1,9 +1,8 @@
//===-- MICmdArgContext.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
//
//===----------------------------------------------------------------------===//
@@ -11,7 +10,6 @@
#include "MICmdArgContext.h"
//++
-//------------------------------------------------------------------------------------
// Details: CMICmdArgContext constructor.
// Type: Method.
// Args: None.
@@ -21,7 +19,6 @@
CMICmdArgContext::CMICmdArgContext() {}
//++
-//------------------------------------------------------------------------------------
// Details: CMICmdArgContext constructor.
// Type: Method.
// Args: vrCmdLineArgsRaw - (R) The text description of the arguments
@@ -33,7 +30,6 @@ CMICmdArgContext::CMICmdArgContext(const CMIUtilString &vrCmdLineArgsRaw)
: m_strCmdArgsAndOptions(vrCmdLineArgsRaw) {}
//++
-//------------------------------------------------------------------------------------
// Details: CMICmdArgContext destructor.
// Type: Method.
// Args: None.
@@ -43,7 +39,6 @@ CMICmdArgContext::CMICmdArgContext(const CMIUtilString &vrCmdLineArgsRaw)
CMICmdArgContext::~CMICmdArgContext() {}
//++
-//------------------------------------------------------------------------------------
// Details: Retrieve the remainder of the command's argument options left to
// parse.
// Type: Method.
@@ -56,7 +51,6 @@ const CMIUtilString &CMICmdArgContext::GetArgsLeftToParse() const {
}
//++
-//------------------------------------------------------------------------------------
// Details: Ask if this arguments string has any arguments.
// Type: Method.
// Args: None.
@@ -69,7 +63,6 @@ bool CMICmdArgContext::IsEmpty() const {
}
//++
-//------------------------------------------------------------------------------------
// Details: Remove the argument from the options text and any space after the
// argument
// if applicable.
@@ -128,7 +121,6 @@ bool CMICmdArgContext::RemoveArg(const CMIUtilString &vArg) {
}
//++
-//------------------------------------------------------------------------------------
// Details: Remove the argument at the Nth word position along in the context
// string.
// Any space after the argument is removed if applicable. A search is
@@ -188,7 +180,6 @@ bool CMICmdArgContext::RemoveArgAtPos(const CMIUtilString &vArg,
}
//++
-//------------------------------------------------------------------------------------
// Details: Retrieve number of arguments or options present in the command's
// option text.
// Type: Method.
@@ -202,7 +193,6 @@ size_t CMICmdArgContext::GetNumberArgsPresent() const {
}
//++
-//------------------------------------------------------------------------------------
// Details: Retrieve all the arguments or options remaining in *this context.
// Type: Method.
// Args: None.
@@ -216,7 +206,6 @@ CMIUtilString::VecString_t CMICmdArgContext::GetArgs() const {
}
//++
-//------------------------------------------------------------------------------------
// Details: Copy assignment operator.
// Type: Method.
// Args: vOther - (R) The variable to copy from.