mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
aa4948f992
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50723 91177308-0d34-0410-b5e6-96231b3b80d8
37 lines
886 B
C++
37 lines
886 B
C++
//===--- Tools.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 llvmcc {
|
|
|
|
class Action {
|
|
std::string Command_;
|
|
std::vector<std::string> Args_;
|
|
public:
|
|
Action (std::string const& C,
|
|
std::vector<std::string> const& A)
|
|
: Command_(C), Args_(A)
|
|
{}
|
|
|
|
int Execute() const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // LLVM_TOOLS_LLVMC2_ACTION_H
|