aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CompilerDriver/Action.h
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-07-27 11:19:36 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-07-27 11:19:36 +0000
commit67d985ffb2d02941dd4e34ecea3f3b8c0fcfaf4f (patch)
treec7414f5ee29f8837a3feffc91f156f30ece6a3a3 /include/llvm/CompilerDriver/Action.h
parent978bb87f8871b953d159c2846b379bc93be27972 (diff)
Return -1 only on failure to execute a program.
Also fix some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109499 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CompilerDriver/Action.h')
-rw-r--r--include/llvm/CompilerDriver/Action.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CompilerDriver/Action.h b/include/llvm/CompilerDriver/Action.h
index 4ff6fd9c02..f2b79655f6 100644
--- a/include/llvm/CompilerDriver/Action.h
+++ b/include/llvm/CompilerDriver/Action.h
@@ -43,7 +43,7 @@ namespace llvmc {
}
bool IsConstructed () { return (Command_.size() != 0);}
- /// Execute - Executes the represented action.
+ /// Execute - Executes the command. Returns -1 on error.
int Execute () const;
bool StopCompilation () const { return StopCompilation_; }
const std::string& OutFile() { return OutFile_; }