diff options
Diffstat (limited to 'llvm/tools/obj2yaml/Error.cpp')
-rw-r--r-- | llvm/tools/obj2yaml/Error.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/obj2yaml/Error.cpp b/llvm/tools/obj2yaml/Error.cpp index 9c2aeefef2f..9d1af680a73 100644 --- a/llvm/tools/obj2yaml/Error.cpp +++ b/llvm/tools/obj2yaml/Error.cpp @@ -13,6 +13,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 _obj2yaml_error_category : public std::error_category { public: const char *name() const LLVM_NOEXCEPT override; |