summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/tools/llvm-cxxdump/Error.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-01-14 19:55:43 +0000
committerpatrick <patrick@openbsd.org>2017-01-14 19:55:43 +0000
commitbd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch)
tree309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/tools/llvm-cxxdump/Error.cpp
parentkillp -a should not kill the window if only one pane. (diff)
downloadwireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz
wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/tools/llvm-cxxdump/Error.cpp')
-rw-r--r--gnu/llvm/tools/llvm-cxxdump/Error.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/llvm/tools/llvm-cxxdump/Error.cpp b/gnu/llvm/tools/llvm-cxxdump/Error.cpp
index 16fed96e483..ff9f0f57906 100644
--- a/gnu/llvm/tools/llvm-cxxdump/Error.cpp
+++ b/gnu/llvm/tools/llvm-cxxdump/Error.cpp
@@ -17,6 +17,9 @@
using namespace llvm;
namespace {
+// FIXME: This class is only here to support the transition to llvm::Error. It
+// will be removed once this transition is complete. Clients should prefer to
+// deal with the Error value directly, rather than converting to error_code.
class cxxdump_error_category : public std::error_category {
public:
const char *name() const LLVM_NOEXCEPT override { return "llvm.cxxdump"; }