Skip to content

Commit 909d7bf

Browse files
committed
Fix Windows buildbots
`stdout` and `stderr` might be defined as macros, so we needed to avoid using them as variable names.
1 parent f82dba0 commit 909d7bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lld/include/lld/Common/Driver.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@
1515
namespace lld {
1616
namespace coff {
1717
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
18-
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
18+
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
1919
}
2020

2121
namespace mingw {
2222
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
23-
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
23+
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
2424
}
2525

2626
namespace elf {
2727
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
28-
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
28+
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
2929
}
3030

3131
namespace mach_o {
3232
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
33-
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
33+
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
3434
}
3535

3636
namespace wasm {
3737
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
38-
llvm::raw_ostream &stdout, llvm::raw_ostream &stderr);
38+
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
3939
}
4040
}
4141

0 commit comments

Comments
 (0)