mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 09:00:33 +03:00
Merge branch 'master' into merge-2.069
This commit is contained in:
commit
2d82dae628
3 changed files with 9 additions and 4 deletions
|
@ -1194,10 +1194,11 @@ public:
|
|||
// This is a bit more convoluted than it would need to be, because it
|
||||
// has to take templated interface methods into account, for which
|
||||
// isFinalFunc is not necessarily true.
|
||||
// Also, private methods are always not virtual.
|
||||
// Also, private/package methods are always non-virtual.
|
||||
const bool nonFinal = !fdecl->isFinalFunc() &&
|
||||
(fdecl->isAbstract() || fdecl->isVirtual()) &&
|
||||
fdecl->prot().kind != PROTprivate;
|
||||
fdecl->prot().kind != PROTprivate &&
|
||||
fdecl->prot().kind != PROTpackage;
|
||||
|
||||
// Get the actual function value to call.
|
||||
LLValue *funcval = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue