[PATCH] D39050: Add index-while-building support to Clang
Marc-Andre Laperle via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 14 07:44:32 PDT 2018
malaperle added a comment.
In https://reviews.llvm.org/D39050#1036394, @nathawes wrote:
> @malaperle Just to clarify, what's the particular end-loc we're talking about here? e.g. for a function call, would this be the end of the function's name, or the closing paren?
> For the end of the name, couldn't this be derived from the start loc + symbol name length (barring token pastes and escaped new lines in the middle of identifiers, which hopefully aren't too common)?
> I can see the value for the closing paren though.
I mean the end of the name referencing the symbol, so that it can be highlighted properly when using the "find references in workspace" feature. There are cases where the name of the symbol itself is not present, for example "MyClass o1, o2;" (o1 and o2 reference the constructor), references to overloaded operators, etc.
https://reviews.llvm.org/D39050
More information about the cfe-commits
mailing list