jvikstrom marked an inline comment as done. jvikstrom added inline comments.
================ Comment at: clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp:443 + $Primitive[[int]] $Variable[[A]][2] = {1,2}; + auto [$Variable[[B1]], $Variable[[B2]]] = $Variable[[A]]; + auto [$Variable[[G1]], $Variable[[G2]]] = $Variable[[Global]]; ---------------- hokein wrote: > this is not related to the patch, but the highlighting behavior for auto > here is weird, some of them are highlighted while some of them are not. The reason for that is broken down here: https://reviews.llvm.org/D66516#inline-599982 Basically we don't traverse the type hierarchy when trying to add highlightings for auto so if we have a pointer/array type it will not find the actual type and just silently not add any highlightings. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66738/new/ https://reviews.llvm.org/D66738 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits