summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/PDB/DIA
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-05-24 20:13:46 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-05-24 20:13:46 +0000
commit84e27c2068d475d1890c24dc4fdad0037389ac22 (patch)
tree8490de5380426898065cc74cd61052cc047ee4bb /lib/DebugInfo/PDB/DIA
parentd2a4b77f78cc4d31cab3273c744d596733af4b49 (diff)
Add FIXMEs to all derived classes of std::error_category.
This helps make clear that we're moving away from std::error_code. Differential Revision: http://reviews.llvm.org/D20592 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/PDB/DIA')
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAError.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DebugInfo/PDB/DIA/DIAError.cpp b/lib/DebugInfo/PDB/DIA/DIAError.cpp
index 647446be577..1d72a92b514 100644
--- a/lib/DebugInfo/PDB/DIA/DIAError.cpp
+++ b/lib/DebugInfo/PDB/DIA/DIAError.cpp
@@ -5,6 +5,9 @@
using namespace llvm;
using namespace llvm::pdb;
+// 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 DIAErrorCategory : public std::error_category {
public:
const char *name() const LLVM_NOEXCEPT override { return "llvm.pdb.dia"; }