Use Doxygen-style comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50833 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvmc2/Action.h b/tools/llvmc2/Action.h
index 7aaf470..32d1855 100644
--- a/tools/llvmc2/Action.h
+++ b/tools/llvmc2/Action.h
@@ -21,8 +21,11 @@
typedef std::vector<std::string> StringVector;
+ /// Action - A class that encapsulates a single shell command.
class Action {
+ /// Command_ - The actual command (for example, 'ls').
std::string Command_;
+ /// Args_ - Command arguments. Stdout redirection is allowed.
std::vector<std::string> Args_;
public:
Action (const std::string& C,
@@ -30,6 +33,7 @@
: Command_(C), Args_(A)
{}
+ /// Execute - Executes the represented action.
int Execute() const;
};