diff options
author | Rui Ueyama <ruiu@google.com> | 2019-11-18 16:44:13 +0900 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2019-11-18 16:45:00 +0900 |
commit | 909d7bf9a7c5eb728f4660541ab33089132409fe (patch) | |
tree | 4646cdbc6dda438a2cdfbd1a76c350d98ac53d79 | |
parent | f82dba019253ced73ceadfde10e5f150bdb182f3 (diff) | |
download | bcm5719-llvm-909d7bf9a7c5eb728f4660541ab33089132409fe.tar.gz bcm5719-llvm-909d7bf9a7c5eb728f4660541ab33089132409fe.zip |
Fix Windows buildbots
`stdout` and `stderr` might be defined as macros, so we needed to
avoid using them as variable names.
-rw-r--r-- | lld/include/lld/Common/Driver.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lld/include/lld/Common/Driver.h b/lld/include/lld/Common/Driver.h index 3edd544cf1d..0a358d8aff6 100644 --- a/lld/include/lld/Common/Driver.h +++ b/lld/include/lld/Common/Driver.h @@ -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); } } |