[PATCH] D52357: [clangd] Force Dex to respect symbol collector flags
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 21 06:36:27 PDT 2018
ioeric added inline comments.
================
Comment at: clang-tools-extra/clangd/index/dex/Dex.cpp:27
+ Token(Token::Kind::Sentinel, "Restricted For Code Completion");
+static const Token NotRestrictedForCodeCompletion =
+ Token(Token::Kind::Sentinel, "Not Restricted For Code Completion");
----------------
Why do we need `NotRestrictedForCodeCompletion` token? If `RestrictedForCodeCompletion` is false, all symbols can match.
https://reviews.llvm.org/D52357
More information about the cfe-commits
mailing list