mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Remove 'using std::error_code' from tools.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210876 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -21,7 +21,6 @@
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <system_error>
|
||||
using namespace llvm;
|
||||
using std::error_code;
|
||||
|
||||
static cl::list<std::string>
|
||||
InputFilenames(cl::Positional, cl::desc("<input files>"),
|
||||
@ -137,7 +136,7 @@ MarkupTag MarkupParser::parseTag() {
|
||||
|
||||
static void parseMCMarkup(StringRef Filename) {
|
||||
std::unique_ptr<MemoryBuffer> BufferPtr;
|
||||
if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, BufferPtr)) {
|
||||
if (std::error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, BufferPtr)) {
|
||||
errs() << ToolName << ": " << ec.message() << '\n';
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user