Home
last modified time | relevance | path

Searched refs:CodeCompletion (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DCodeComplete.h42 struct CodeCompletion;
147 std::function<void(const CodeCompletion &, const SymbolQualitySignals &,
178 struct CodeCompletion { struct
256 raw_ostream &operator<<(raw_ostream &, const CodeCompletion &); argument
258 std::vector<CodeCompletion> Completions;
DCodeComplete.cpp248 std::pair<CompletionCandidate::Bundle, CodeCompletion::Scores>;
357 CodeCompletion::IncludeCandidate Include; in CodeCompletionBuilder()
371 [](const CodeCompletion::IncludeCandidate &I) { in CodeCompletionBuilder()
406 CodeCompletion build() { in build()
507 CodeCompletion Completion;
1640 CodeCompletion::Scores
1644 CodeCompletion::Scores Scores; in evaluateCompletion()
1724 CodeCompletion::Scores Scores = evaluateCompletion(Quality, Relevance); in addCandidate()
1741 CodeCompletion toCodeCompletion(const CompletionCandidate::Bundle &Bundle) { in toCodeCompletion()
1888 CompletionItem CodeCompletion::render(const CodeCompleteOptions &Opts) const { in render()
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DClangdTests.cpp641 ElementsAre(Field(&CodeCompletion::Name, "int"), in TEST()
642 Field(&CodeCompletion::Name, "main"))); in TEST()
976 EXPECT_THAT(Completions, ElementsAre(Field(&CodeCompletion::Name, "bar"))); in TEST()
985 EXPECT_THAT(Completions, ElementsAre(Field(&CodeCompletion::Name, "bar"), in TEST()
986 Field(&CodeCompletion::Name, "baz"))); in TEST()
1056 ElementsAre(Field(&CodeCompletion::Name, "TestSym"))); in TEST()
1086 ElementsAre(AllOf(Field(&CodeCompletion::Name, "xyz"), in TEST()
1087 Field(&CodeCompletion::Scope, "")))); in TEST()
1095 ElementsAre(AllOf(Field(&CodeCompletion::Name, "xyz"), in TEST()
1096 Field(&CodeCompletion::Scope, "ns::")))); in TEST()
[all …]
DCodeCompleteTests.cpp83 Matcher<const std::vector<CodeCompletion> &> Has(std::string Name) { in Has()
86 Matcher<const std::vector<CodeCompletion> &> Has(std::string Name, in Has()
1104 std::vector<CodeCompletion> RecordedCompletions; in TEST()
1106 Opts.RecordCCResult = [&RecordedCompletions](const CodeCompletion &CC, in TEST()
1777 CodeCompletion C; in TEST()
1954 CodeCompletion C; in TEST()
1974 CodeCompletion C; in TEST()