diff options
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/GenericError.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/GenericError.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/GenericError.cpp b/llvm/lib/DebugInfo/PDB/GenericError.cpp index 66b3a7a7fee..34e17999802 100644 --- a/llvm/lib/DebugInfo/PDB/GenericError.cpp +++ b/llvm/lib/DebugInfo/PDB/GenericError.cpp @@ -15,6 +15,9 @@ using namespace llvm; using namespace llvm::pdb; 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 GenericErrorCategory : public std::error_category { public: const char *name() const LLVM_NOEXCEPT override { return "llvm.pdb"; } |