[clang-tools-extra] [clangd] Support symbolTags for document symbol (PR #113669)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 30 20:22:31 PDT 2024
chouzz wrote:
> I thought about the _Constant_ tag. In Java for example, there is no `const` keyword, instead the `final` keyword is used for variables to declare them as read-only. The keyword `final` means something else for methods (they cannot be overridden). The keywords and their meaning seem to be very language-specific. Thus, I prefer removing the _Constant_ tag completely from the LSP PR. I think, the _Read-only_ tag makes much more sense, since it is more generic, and expresses better on a higher abstraction level what we mean.
>
> Do you agree? Then I'd adapt my PR on the LSP project accordingly.
I have no objections to this.
https://github.com/llvm/llvm-project/pull/113669
More information about the cfe-commits
mailing list