blob: 042753f240328bd8a1a5229c93ba89dad85270cb [file] [log] [blame]
Kate Stoneb9c1b512016-09-06 20:57:50 +00001//===-- CommandObjectApropos.h -----------------------------------*- C++
2//-*-===//
Chris Lattner30fdc8d2010-06-08 16:52:24 +00003//
Chandler Carruth2946cd72019-01-19 08:50:56 +00004// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Chris Lattner30fdc8d2010-06-08 16:52:24 +00007//
8//===----------------------------------------------------------------------===//
9
Jonas Devliegherecdc514e2020-02-17 15:57:45 -080010#ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTAPROPOS_H
11#define LLDB_SOURCE_COMMANDS_COMMANDOBJECTAPROPOS_H
Chris Lattner30fdc8d2010-06-08 16:52:24 +000012
Chris Lattner30fdc8d2010-06-08 16:52:24 +000013#include "lldb/Interpreter/CommandObject.h"
14
15namespace lldb_private {
16
Chris Lattner30fdc8d2010-06-08 16:52:24 +000017// CommandObjectApropos
Chris Lattner30fdc8d2010-06-08 16:52:24 +000018
Kate Stoneb9c1b512016-09-06 20:57:50 +000019class CommandObjectApropos : public CommandObjectParsed {
Chris Lattner30fdc8d2010-06-08 16:52:24 +000020public:
Kate Stoneb9c1b512016-09-06 20:57:50 +000021 CommandObjectApropos(CommandInterpreter &interpreter);
Chris Lattner30fdc8d2010-06-08 16:52:24 +000022
Kate Stoneb9c1b512016-09-06 20:57:50 +000023 ~CommandObjectApropos() override;
Chris Lattner30fdc8d2010-06-08 16:52:24 +000024
Jim Ingham5a988412012-06-08 21:56:10 +000025protected:
Kate Stoneb9c1b512016-09-06 20:57:50 +000026 bool DoExecute(Args &command, CommandReturnObject &result) override;
Chris Lattner30fdc8d2010-06-08 16:52:24 +000027};
28
29} // namespace lldb_private
30
Jonas Devliegherecdc514e2020-02-17 15:57:45 -080031#endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTAPROPOS_H