ilya-biryukov added inline comments.
================
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:233
- bool VisitTypeLoc(TypeLoc TL) {
- if (auto K = kindForType(TL.getTypePtr()))
----------------
hokein wrote:
> as we are not visiting this base `TypeLoc` in this patch, will we miss any
> interesting `TypeLoc`s (e.g. FunctionTypeLoc)?
We didn't do anything interesting with function type locs before this patch as
well.
This patch aims to produce equivalent results in all cases except the primitive
types (and spell out those cases explicitly by implementing corresponding
`Visit*TypeLoc` methods).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69431/new/
https://reviews.llvm.org/D69431
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits