diff options
| author | Teresa Johnson <tejohnson@google.com> | 2016-04-04 21:19:31 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2016-04-04 21:19:31 +0000 |
| commit | 3c35e0999befe9d3016cf3bfd07701e94144a968 (patch) | |
| tree | 49dc6a44f7142c4a291f8196e0293f7148d6189b /llvm/tools | |
| parent | 9ab8131a57ed4cecfe00225a56f57d5173b80b2e (diff) | |
| download | bcm5719-llvm-3c35e0999befe9d3016cf3bfd07701e94144a968.tar.gz bcm5719-llvm-3c35e0999befe9d3016cf3bfd07701e94144a968.zip | |
Clean up calls to WriteBitcodeToFile (NFC)
Remove a default parameter value being passed unnecessarily, which
also reduces the changes required when this parameter is changed in
D18763.
Document the remaining non-default bool value passed for another
parameter.
llvm-svn: 265348
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvm-lto/llvm-lto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-lto/llvm-lto.cpp b/llvm/tools/llvm-lto/llvm-lto.cpp index 1f7892de44b..ad3fb4effd4 100644 --- a/llvm/tools/llvm-lto/llvm-lto.cpp +++ b/llvm/tools/llvm-lto/llvm-lto.cpp @@ -316,7 +316,7 @@ static void writeModuleToFile(Module &TheModule, StringRef Filename) { std::error_code EC; raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::F_None); error(EC, "error opening the file '" + Filename + "'"); - WriteBitcodeToFile(&TheModule, OS, true, false); + WriteBitcodeToFile(&TheModule, OS, /* ShouldPreserveUseListOrder */ true); } class ThinLTOProcessing { |

