mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Address-of immutable is now a warning instead of error, added [NoSplat]
This commit is contained in:
parent
557b13070c
commit
808a4438d7
7 changed files with 69 additions and 41 deletions
|
@ -764,6 +764,8 @@ bool BfMethodInstance::AllowsSplatting()
|
|||
{
|
||||
if (mCallingConvention != BfCallingConvention_Unspecified)
|
||||
return false;
|
||||
if (mMethodDef->mIsNoSplat)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -771,6 +773,8 @@ bool BfMethodInstance::AllowsThisSplatting()
|
|||
{
|
||||
if (mCallingConvention != BfCallingConvention_Unspecified)
|
||||
return false;
|
||||
if (mMethodDef->mIsNoSplat)
|
||||
return false;
|
||||
return !mMethodDef->HasNoThisSplat();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue