[PATCH] D148284: [clangd] Add "readonly" token to const member expressions

Thorben Tröbst via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 13 18:29:23 PDT 2023


t-troebst updated this revision to Diff 513406.
t-troebst added a comment.

Changed `isConstQualifed()` to the custom `isConst()` (though this `isConst()` behaves strangely for pointer types, we should fix this separately and keep them synced for now).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148284

Files:
  clang-tools-extra/clangd/SemanticHighlighting.cpp
  clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148284.513406.patch
Type: text/x-patch
Size: 4021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230414/0b369123/attachment-0001.bin>


More information about the cfe-commits mailing list