summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-member-call.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CGDebugInfo] Modify the preferred expression location for member calls.Hal Finkel2016-05-251-0/+24
If the callee has a valid location (not all do), then use that. Otherwise, fall back to the starting location. This makes sure that the debug info for calls points to the call (not the start of the expression providing the object on which the member function is being called). For example, given this: f->foo()->bar(); we don't want both calls to point to the 'f', but rather to the 'foo()' and the 'bar()'. Fixes PR27567. Differential Revision: http://reviews.llvm.org/D19708 llvm-svn: 270775
OpenPOWER on IntegriCloud