aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-03-02 09:01:39 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-03-02 09:01:39 +0000
commitf5178ce14482d6ec3f8564624952151d72b2962a (patch)
tree018699b20ac27a184427b9ed2fa116cfeade519f
parentf188178a2f8e6452d3e161acdad9a79e1f36c43f (diff)
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65822 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CompilerDriver/Error.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CompilerDriver/Error.h b/include/llvm/CompilerDriver/Error.h
index c0aaff1a72..29c4add29d 100644
--- a/include/llvm/CompilerDriver/Error.h
+++ b/include/llvm/CompilerDriver/Error.h
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// Exception classes for LLVMC.
+// Exception classes for llvmc.
//
//===----------------------------------------------------------------------===//
@@ -18,6 +18,8 @@
namespace llvmc {
+ /// error_code - This gets thrown during the compilation process if a tool
+ /// invocation returns a non-zero exit code.
class error_code: public std::runtime_error {
int Code_;
public: