aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2021-01-27 09:47:17 +0100
committerSam McCall <sam.mccall@gmail.com>2021-02-09 16:31:22 +0100
commitdd8fb21227cef26b1cdd44792a1ee77910afd86a (patch)
tree82fb618f385575befdae654bd8e85a601435e5d9 /clang/lib/Frontend/CompilerInvocation.cpp
parent79b222c39f0e4377b49191b6aba080b1607f3fa7 (diff)
downloadllvm-dd8fb21227cef26b1cdd44792a1ee77910afd86a.zip
llvm-dd8fb21227cef26b1cdd44792a1ee77910afd86a.tar.gz
llvm-dd8fb21227cef26b1cdd44792a1ee77910afd86a.tar.bz2
[clangd] Implement semanticTokens modifiers
- Infrastructure to support modifiers (protocol etc) - standard modifiers: - declaration (but no definition, yet) - deprecated - readonly (based on a fairly fuzzy const checking) - static (for class members and locals, but *not* file-scope things!) - abstract (for C++ classes, and pure-virtual methods) - nonstandard modifier: - deduced (on "auto" whose Kind is Class etc) Happy to drop this if it's controversial at all. - While here, update sample tweak to use our internal names, in anticipation of theia TM scopes going away. This addresses some of the goals of D77702, but leaves some things undone. Mostly because I think these will want some discussion. - no split between dependent type/name. (We may want to model this as a modifier, type+dependent vs ???+dependent) - no split between primitive/typedef. (Is introducing a nonstandard kind is worth this distinction?) - no nonstandard local attribute This probably makes sense, I'm wondering if we want others and how they fit together. There's one minor regression in explicit template specialization declarations due to a latent bug in findExplicitReferences, but fixing it after seems OK. Differential Revision: https://reviews.llvm.org/D77811
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions