Fix PR45416: the diagnostic when '=' is missing is misleading.
FileOutputBuffer::create returns successfully when the filename is empty
(the temporary file is .tmp%%%%%%%), but FileOutputBuffer::commit will error when
renaming .tmp%%%%%%% to the empty name).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Add a link to the PR.
LGTM otherwise.
llvm/tools/llvm-objcopy/CopyConfig.cpp | ||
---|---|---|
703–710 | Consider fixing clang-tidy warning whilst you're changing this line. |
Comment Actions
Fix clang-tidy: warning: 'auto Arg' can be declared as 'auto *Arg' [llvm-qualified-auto]
Consider fixing clang-tidy warning whilst you're changing this line.