Make it possible to use the generalised 'case' construct in the cmd_line property.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51728 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvmc2/Action.h b/tools/llvmc2/Action.h
index 32d1855..0f3f0bd 100644
--- a/tools/llvmc2/Action.h
+++ b/tools/llvmc2/Action.h
@@ -25,9 +25,10 @@
class Action {
/// Command_ - The actual command (for example, 'ls').
std::string Command_;
- /// Args_ - Command arguments. Stdout redirection is allowed.
+ /// Args_ - Command arguments. Stdout redirection ("> file") is allowed.
std::vector<std::string> Args_;
public:
+ Action() {}
Action (const std::string& C,
const StringVector& A)
: Command_(C), Args_(A)