aboutsummaryrefslogtreecommitdiff
path: root/lib/System/ErrorCode.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-15 08:14:33 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-15 08:14:33 +0000
commit439ed9036dbc9aacb212428241bcbd21cd064d24 (patch)
tree0c0729cac8781dd8901b7fba4edc1c2290dfa395 /lib/System/ErrorCode.cpp
parentd5cda8799577663d82ca5753e05f441dab40ba12 (diff)
Initial implementations of the ErrorCode and Path concepts for Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/ErrorCode.cpp')
-rw-r--r--lib/System/ErrorCode.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/System/ErrorCode.cpp b/lib/System/ErrorCode.cpp
new file mode 100644
index 0000000000..5f340cc7b5
--- /dev/null
+++ b/lib/System/ErrorCode.cpp
@@ -0,0 +1,38 @@
+//===- ErrorCode.cpp - Define the ErrorCode class ---------------*- C++ -*-===//
+//
+// Copyright (C) 2004 eXtensible Systems, Inc. All Rights Reserved.
+//
+// This program is open source software; you can redistribute it and/or modify
+// it under the terms of the University of Illinois Open Source License. See
+// LICENSE.TXT (distributed with this software) for details.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the members of the llvm::sys::ErrorCode class. This class
+// is used to hold operating system and other error codes in a platform
+// agnostic manner.
+//
+//===----------------------------------------------------------------------===//
+/// @file lib/System/ErrorCode.h
+/// @author Reid Spencer <raspencer@x10sys.com> (original author)
+/// @version \verbatim $Id$ \endverbatim
+/// @date 2004/08/14
+/// @since 1.4
+/// @brief Declares the llvm::sys::ErrorCode class.
+//===----------------------------------------------------------------------===//
+
+#include "llvm/System/ErrorCode.h"
+
+namespace llvm {
+namespace sys {
+
+}
+}
+
+#include "linux/ErrorCode.cpp"
+
+// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab