mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 03:16:05 +03:00
Fix several 'reaches end of function' warnings by making fatal noreturn.
The warnings also pointed out a few genuine bugs. Replace some tabs with spaces.
This commit is contained in:
parent
0db459fad0
commit
64a8e47ad6
5 changed files with 31 additions and 20 deletions
|
@ -39,6 +39,7 @@ const IRScope& IRScope::operator=(const IRScope& rhs)
|
|||
begin = rhs.begin;
|
||||
end = rhs.end;
|
||||
builder.SetInsertPoint(begin);
|
||||
return *this;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue