mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 10:41:29 +00:00
Don't import error_category into the llvm namespace.
llvm-svn: 210733
This commit is contained in:
1 parent
92d8b456d9
commit
25188c95de
11 files changed
+15
-16
No files matched your search
@@ -3300,7 +3300,7 @@ error_code BitcodeReader::InitLazyStream() {
|
||||
}
|
||||
|
||||
namespace {
|
||||
class BitcodeErrorCategoryType : public error_category {
|
||||
class BitcodeErrorCategoryType : public std::error_category {
|
||||
const char *name() const LLVM_NOEXCEPT override {
|
||||
return "llvm.bitcode";
|
||||
}
|
||||
@@ -3351,7 +3351,7 @@ class BitcodeErrorCategoryType : public error_category {
|
||||
};
|
||||
}
|
||||
|
||||
const error_category &BitcodeReader::BitcodeErrorCategory() {
|
||||
const std::error_category &BitcodeReader::BitcodeErrorCategory() {
|
||||
static BitcodeErrorCategoryType O;
|
||||
return O;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user