mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include <system_error>
|
||||
|
||||
namespace llvm {
|
||||
using std::error_code;
|
||||
const std::error_category &instrprof_category();
|
||||
|
||||
enum class instrprof_error {
|
||||
@@ -38,8 +37,8 @@ enum class instrprof_error {
|
||||
counter_overflow
|
||||
};
|
||||
|
||||
inline error_code make_error_code(instrprof_error E) {
|
||||
return error_code(static_cast<int>(E), instrprof_category());
|
||||
inline std::error_code make_error_code(instrprof_error E) {
|
||||
return std::error_code(static_cast<int>(E), instrprof_category());
|
||||
}
|
||||
|
||||
} // end namespace llvm
|
||||
|
Reference in New Issue
Block a user