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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D23240
[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
Diff Detail Event Timelinejlebar added a child revision: D23242: [CUDA] Raise an error if a wrong-side call is codegen'ed..Aug 6 2016, 12:41 PM This revision is now accepted and ready to land.Aug 8 2016, 11:06 AM Closed by commit rL278195: [CUDA] Print a "previous-decl" note when calling an illegal member fn. (authored by jlebar). · Explain WhyAug 9 2016, 6:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 67081 clang/lib/Sema/SemaOverload.cpp
clang/test/SemaCUDA/method-target.cu
|