aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: