This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Print a "previous-decl" note when calling an illegal member fn.
ClosedPublic

Authored by jlebar on Aug 6 2016, 12:37 PM.

Details

Summary

When we emit err_ref_bad_target, we should emit a "'method' declared
here" note. We already do so in most places, just not in
BuildCallToMemberFunction.

Diff Detail

Event Timeline

jlebar updated this revision to Diff 67081.Aug 6 2016, 12:37 PM
jlebar retitled this revision from to [CUDA] Print a "previous-decl" note when calling an illegal member fn..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.
tra accepted this revision.Aug 8 2016, 11:06 AM
tra edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Aug 8 2016, 11:06 AM
This revision was automatically updated to reflect the committed changes.