Home
last modified time | relevance | path

Searched refs:ContextWords (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DQuality.cpp345 wordMatching(llvm::StringRef Name, const llvm::StringSet<> *ContextWords) { in wordMatching() argument
346 if (ContextWords) in wordMatching()
347 for (const auto &Word : ContextWords->keys()) in wordMatching()
356 Derived.NameMatchesContext = wordMatching(Name, ContextWords).hasValue(); in calculateDerivedSignals()
452 if (S.ContextWords) in operator <<()
455 wordMatching(S.Name, S.ContextWords).getValueOr("<none>")); in operator <<()
DQuality.h93 llvm::StringSet<>* ContextWords = nullptr; member
DCodeComplete.cpp1263 llvm::StringSet<> ContextWords; member in clang::clangd::__anon4117fc060111::CodeCompleteFlow
1454 ContextWords = collectWords(Content.slice(RangeBegin, RangeEnd)); in populateContextWords()
1456 llvm::join(ContextWords.keys(), ", ")); in populateContextWords()
1682 Relevance.ContextWords = &ContextWords; in addCandidate()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DQualityTests.cpp304 WithoutMatchingWord.ContextWords = &Words; in TEST()
309 WithMatchingWord.ContextWords = &Words; in TEST()
DCodeCompleteTests.cpp661 TEST(CompletionTest, ContextWords) { in TEST() argument