diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 20:51:52 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 20:51:52 +0000 |
commit | 5f29bb8a675e8f96452b632e7129113f7dec850e (patch) | |
tree | 3d3f2a0d3ad10872a4dcaba8ec8d1d20c87ab147 /tools/lldb-mi/MICmdArgSet.cpp | |
parent | 88c643b6fec27eec436c8d138fee6346e92337d6 (diff) |
Notes
Diffstat (limited to 'tools/lldb-mi/MICmdArgSet.cpp')
-rw-r--r-- | tools/lldb-mi/MICmdArgSet.cpp | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/tools/lldb-mi/MICmdArgSet.cpp b/tools/lldb-mi/MICmdArgSet.cpp index ca942148908e..0d67c03bfeae 100644 --- a/tools/lldb-mi/MICmdArgSet.cpp +++ b/tools/lldb-mi/MICmdArgSet.cpp @@ -1,9 +1,8 @@ //===-- MICmdArgSet.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 // //===----------------------------------------------------------------------===// @@ -14,7 +13,6 @@ #include "MICmnResources.h" //++ -//------------------------------------------------------------------------------------ // Details: CMICmdArgSet constructor. // Type: Method. // Args: None. @@ -25,7 +23,6 @@ CMICmdArgSet::CMICmdArgSet() : m_bIsArgsPresentButNotHandledByCmd(false), m_constStrCommaSpc(", ") {} //++ -//------------------------------------------------------------------------------------ // Details: CMICmdArgSet destructor. // Type: Method. // Args: None. @@ -38,7 +35,6 @@ CMICmdArgSet::~CMICmdArgSet() { } //++ -//------------------------------------------------------------------------------------ // Details: Release resources used by *this container object. // Type: Method. // Args: None. @@ -67,7 +63,6 @@ void CMICmdArgSet::Destroy() { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the state flag indicating that the command set up ready to // parse // command arguments or options found that one or more arguments was @@ -84,7 +79,6 @@ bool CMICmdArgSet::IsArgsPresentButNotHandledByCmd() const { } //++ -//------------------------------------------------------------------------------------ // Details: Add the list of command's arguments to parse and validate another // one. // Type: Method. @@ -95,7 +89,6 @@ bool CMICmdArgSet::IsArgsPresentButNotHandledByCmd() const { void CMICmdArgSet::Add(CMICmdArgValBase *vArg) { m_setCmdArgs.push_back(vArg); } //++ -//------------------------------------------------------------------------------------ // Details: After validating an options line of text (the context) and there is // a failure, // it is likely a mandatory command argument that is required is @@ -111,7 +104,6 @@ const CMICmdArgSet::SetCmdArgs_t &CMICmdArgSet::GetArgsThatAreMissing() const { } //++ -//------------------------------------------------------------------------------------ // Details: After validating an options line of text (the context) and there is // a failure, // it may be because one or more arguments were unable to extract a @@ -127,7 +119,6 @@ const CMICmdArgSet::SetCmdArgs_t &CMICmdArgSet::GetArgsThatInvalid() const { } //++ -//------------------------------------------------------------------------------------ // Details: The list of argument or option (objects) that were specified by the // command // and so recognised when parsed but were not handled. Ideally the @@ -149,7 +140,6 @@ const CMICmdArgSet::SetCmdArgs_t &CMICmdArgSet::GetArgsNotHandledByCmd() const { } //++ -//------------------------------------------------------------------------------------ // Details: Given a set of command argument objects parse the context option // string to // find those argument and retrieve their value. If the function fails @@ -200,7 +190,6 @@ bool CMICmdArgSet::Validate(const CMIUtilString &vStrMiCmd, } //++ -//------------------------------------------------------------------------------------ // Details: Having validated the command's options text and failed for some // reason form // the error message made up with the faults found. @@ -311,7 +300,6 @@ bool CMICmdArgSet::ValidationFormErrorMessages( } //++ -//------------------------------------------------------------------------------------ // Details: Ask if the command's argument options text had any arguments. // Type: Method. // Args: None. @@ -324,7 +312,6 @@ bool CMICmdArgSet::IsArgContextEmpty() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the number of arguments that are being used for the // command. // Type: Method. @@ -335,7 +322,6 @@ bool CMICmdArgSet::IsArgContextEmpty() const { size_t CMICmdArgSet::GetCount() const { return m_setCmdArgs.size(); } //++ -//------------------------------------------------------------------------------------ // Details: Given a set of command argument objects retrieve the argument with // the // specified name. @@ -365,7 +351,6 @@ bool CMICmdArgSet::GetArg(const CMIUtilString &vArgName, } //++ -//------------------------------------------------------------------------------------ // Details: Write a warning message to the MI Log file about the command's // arguments or // options that were found present but not handled. |