[PATCH] D116618: [clangd] Use the localSourceRange as the default claimed range for typelocs.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 4 15:23:32 PST 2022


sammccall added a comment.

OK, I hacked up this and your other patch into https://reviews.llvm.org/D116630.

The TypeLoc part seems a little more principled there, because:

- most types are treated the same as any other nodes
- the types that are treated differently have a precise reason, and we can be confident the list is exhaustive

Feel free to do what you like with that patch - review it, adopt it, discard it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116618/new/

https://reviews.llvm.org/D116618



More information about the cfe-commits mailing list