I originally tried to fix this in SemaExpr (ActOnCallExpr), putting this check just before BuildCallToMemberFunction() call, but eventaully convinced myself SemaOverload should be the right place to fix.
Thanks,
Davide
Differential D11334
[Sema] Call to deleted functions are supposed to be verboten Authored by davide on Jul 18 2015, 9:37 PM.
Details I originally tried to fix this in SemaExpr (ActOnCallExpr), putting this check just before BuildCallToMemberFunction() call, but eventaully convinced myself SemaOverload should be the right place to fix. Thanks, Davide
Diff Detail
Event TimelineComment Actions I don't spend a lot of time on the internals of clang; but this looks reasonable to me.
| ||||||