aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvmc2/Action.h
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-09-22 20:50:40 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-09-22 20:50:40 +0000
commit4a1a77c1c9e0992735aa66b75c9e4c75c3b70561 (patch)
treee2b08ff91496f34d8c324f1fb1c498547c8a9749 /tools/llvmc2/Action.h
parentc82ce4a8a7d2e09cc2b510a6759e169e28dd136a (diff)
downloadexternal_llvm-4a1a77c1c9e0992735aa66b75c9e4c75c3b70561.zip
external_llvm-4a1a77c1c9e0992735aa66b75c9e4c75c3b70561.tar.gz
external_llvm-4a1a77c1c9e0992735aa66b75c9e4c75c3b70561.tar.bz2
Move llvmc2 header files under include/llvm/CompilerDriver
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2/Action.h')
-rw-r--r--tools/llvmc2/Action.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/tools/llvmc2/Action.h b/tools/llvmc2/Action.h
deleted file mode 100644
index c3b31d4..0000000
--- a/tools/llvmc2/Action.h
+++ /dev/null
@@ -1,42 +0,0 @@
-//===--- Action.h - The LLVM Compiler Driver --------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open
-// Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// Action - encapsulates a single shell command.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_TOOLS_LLVMC2_ACTION_H
-#define LLVM_TOOLS_LLVMC2_ACTION_H
-
-#include <string>
-#include <vector>
-
-namespace llvmc {
-
- typedef std::vector<std::string> StrVector;
-
- /// 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 ("> file") is allowed.
- std::vector<std::string> Args_;
- public:
- Action() {}
- Action (const std::string& C, const StrVector& A)
- : Command_(C), Args_(A)
- {}
-
- /// Execute - Executes the represented action.
- int Execute() const;
- };
-
-}
-
-#endif // LLVM_TOOLS_LLVMC2_ACTION_H