summaryrefslogtreecommitdiffstats
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
commit661f4c9131dd9c8dd740d995d5b7ddf5f940d152 (patch)
tree658d8c6b7b9f92afd48f8ff049925ad0e5f9bbb8
parent931d4521c33df446cf4f5a8ae168a8001556693f (diff)
downloadbcm5719-llvm-661f4c9131dd9c8dd740d995d5b7ddf5f940d152.tar.gz
bcm5719-llvm-661f4c9131dd9c8dd740d995d5b7ddf5f940d152.zip
Add a comment.
llvm-svn: 65822
-rw-r--r--llvm/include/llvm/CompilerDriver/Error.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/CompilerDriver/Error.h b/llvm/include/llvm/CompilerDriver/Error.h
index c0aaff1a724..29c4add29d7 100644
--- a/llvm/include/llvm/CompilerDriver/Error.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud