hfinkel added a comment.

In http://reviews.llvm.org/D19678#416039, @hfinkel wrote:

> In http://reviews.llvm.org/D19678#415902, @rsmith wrote:
>
> > You give this example:
> >
> > >   343     |     Loc = ConvertBackendLocation(D, 
> > > Context->getSourceManager());
> >
> > >       I   |           ^
> >
> > >       I   |                                     ^
> >
> >
> > How does this look for a case like `p->Foo()->Bar()` (where one or both of 
> > the calls are inlined)? Can we get the source location to point at the 
> > function name instead of the start of the expression to reduce the scope 
> > for ambiguity?
>
>
> That does not currently work very well (I assume this needs a backend fix, 
> but I'll check).


Actually, it's a Clang problem. https://llvm.org/bugs/show_bug.cgi?id=27567


http://reviews.llvm.org/D19678



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to