Fix Windows buildbots

`stdout` and `stderr` might be defined as macros, so we needed to
avoid using them as variable names.
This commit is contained in:
Rui Ueyama 2019-11-18 16:44:13 +09:00
parent f82dba0192
commit 909d7bf9a7

View File

@ -15,27 +15,27 @@
namespace lld {
namespace coff {
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
}
namespace mingw {
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
}
namespace elf {
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
}
namespace mach_o {
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
}
namespace wasm {
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
}
}