mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Use unique_ptr operator= instead of constructor to make it explicit that there's no conversion occurring.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224103 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e0b0363e44
commit
2a4988e8fc
@ -289,8 +289,8 @@ static int compileModule(char **argv, LLVMContext &Context) {
|
|||||||
FloatABIForCalls = FloatABI::Soft;
|
FloatABIForCalls = FloatABI::Soft;
|
||||||
|
|
||||||
// Figure out where we are going to send the output.
|
// Figure out where we are going to send the output.
|
||||||
std::unique_ptr<tool_output_file> Out(
|
std::unique_ptr<tool_output_file> Out =
|
||||||
GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]));
|
GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]);
|
||||||
if (!Out) return 1;
|
if (!Out) return 1;
|
||||||
|
|
||||||
// Build up all of the passes that we want to do to the module.
|
// Build up all of the passes that we want to do to the module.
|
||||||
|
Loading…
Reference in New Issue
Block a user