aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CompilerDriver/Tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CompilerDriver/Tool.h')
-rw-r--r--include/llvm/CompilerDriver/Tool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CompilerDriver/Tool.h b/include/llvm/CompilerDriver/Tool.h
index d064a03..45ef50d 100644
--- a/include/llvm/CompilerDriver/Tool.h
+++ b/include/llvm/CompilerDriver/Tool.h
@@ -38,6 +38,8 @@ namespace llvmc {
virtual ~Tool() {}
+ /// GenerateAction - Generate an Action given particular command-line
+ /// options. Returns non-zero value on error.
virtual int GenerateAction (Action& Out,
const PathVector& inFiles,
const bool HasChildren,
@@ -45,6 +47,8 @@ namespace llvmc {
const InputLanguagesSet& InLangs,
const LanguageMap& LangMap) const = 0;
+ /// GenerateAction - Generate an Action given particular command-line
+ /// options. Returns non-zero value on error.
virtual int GenerateAction (Action& Out,
const llvm::sys::Path& inFile,
const bool HasChildren,