aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CompilerDriver
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
commite50823e97cb0375e132205b5b6379474e1f75102 (patch)
tree018699b20ac27a184427b9ed2fa116cfeade519f /include/llvm/CompilerDriver
parentddb2455b5961eabcde56da66a61fd96600311c62 (diff)
downloadexternal_llvm-e50823e97cb0375e132205b5b6379474e1f75102.zip
external_llvm-e50823e97cb0375e132205b5b6379474e1f75102.tar.gz
external_llvm-e50823e97cb0375e132205b5b6379474e1f75102.tar.bz2
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CompilerDriver')
-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 c0aaff1..29c4add 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: