This revision was automatically updated to reflect the committed changes.
sammccall marked an inline comment as done.
Closed by commit rGfc7a9f36a923: [clangd] Ignore cvr-qualifiers in selection.
(authored by sammccall).
Changed prior to commit:
https://reviews.llvm.org/D117185?vs=399551&id=399
njames93 added inline comments.
Comment at: clang-tools-extra/clangd/Selection.cpp:194
+ return Tok.kind() == tok::comment || Tok.kind() == tok::semi ||
+ Tok.kind() == tok::kw_const || Tok.kind() == tok::kw_volatile ||
+ Tok.kind() == tok::kw_restrict;
-
sammccall updated this revision to Diff 399551.
sammccall added a comment.
Fix tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117185/new/
https://reviews.llvm.org/D117185
Files:
clang-tools-extra/clangd/Selection.cpp
clang-tools-extra/cla
sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: usaxena95, kadircet, arphaman.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
The AST doesn't track