sammccall added a comment.

Re: locations in parameter USRs:

OK, so reading through the code, it looks like locations are included in USRs:

- for macros (except from system headers)
- for decls that aren't externally visible (static etc, function parameters, 
locals)
- an objective-c class extension case I don't really understand

After thinking about this a bit, and use cases like rename and find-declaration 
that could be USR based, I think including some location information is the 
right way to go, which I think is the current behavior.

(I think for the patch itself we're waiting on details about the case that 
doesn't currently work?)


Repository:
  rC Clang

https://reviews.llvm.org/D42966



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

Reply via email to