diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-07-27 11:19:36 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-07-27 11:19:36 +0000 |
commit | 67d985ffb2d02941dd4e34ecea3f3b8c0fcfaf4f (patch) | |
tree | c7414f5ee29f8837a3feffc91f156f30ece6a3a3 /include/llvm/CompilerDriver/Action.h | |
parent | 978bb87f8871b953d159c2846b379bc93be27972 (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.h | 2 |
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_; } |