mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Made method mutability part of signature and method selection
This commit is contained in:
parent
f795215b44
commit
c49d92b779
7 changed files with 129 additions and 14 deletions
|
@ -56,6 +56,11 @@ bool BfTypedValue::IsValuelessType() const
|
|||
return mType->IsValuelessType();
|
||||
}
|
||||
|
||||
bool BfTypedValue::CanModify() const
|
||||
{
|
||||
return (((IsAddr()) || (mType->IsValuelessType())) && (!IsReadOnly()));
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool BfDependencyMap::AddUsedBy(BfType* dependentType, BfDependencyMap::DependencyFlags flags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue