reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1803 LSP.label = ((InsertInclude && InsertInclude->Insertion)
tools/clang/tools/extra/clangd/Protocol.cpp807 assert(!CI.label.empty() && "completion item label is required"); 808 llvm::json::Object Result{{"label", CI.label}}; 833 O << I.label << " - " << toJSON(I); 838 return (L.sortText.empty() ? L.label : L.sortText) < 839 (R.sortText.empty() ? R.label : R.sortText);tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
1613 EXPECT_EQ(R.label, "Foo::x(bool) const"); 1630 EXPECT_EQ(R.label, "^Foo::x(bool) const"); 1635 EXPECT_EQ(R.label, "^[AS]Foo::x(bool) const");