llvm/llvm/lib/DebugInfo/PDB/Native/RawError.cpp

#include "llvm/DebugInfo/PDB/Native/RawError.h"
#include "llvm/Support/ErrorHandling.h"

usingnamespacellvm;
usingnamespacellvm::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 RawErrorCategory : public std::error_category {};
} // namespace

const std::error_category &llvm::pdb::RawErrCategory() {}

char RawError::ID;