llvm-project/clang-tools-extra/clangd
Eric Liu 84bd5db209 [clangd] Use a sigmoid style function for #usages boost in symbol quality.
Summary:
This has a shape to similar logarithm function but grows much slower for
large #usages.

Metrics: https://reviews.llvm.org/P8096

Reviewers: ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: MaskRay, jkorous, arphaman, cfe-commits, sammccall

Differential Revision: https://reviews.llvm.org/D49780

llvm-svn: 337907
2018-07-25 11:26:35 +00:00
..
clients/clangd-vscode [clangd] Fix category in clangd-vscode's package.json 2018-07-23 14:32:12 +00:00
fuzzer [clangd] Guard fuzzer against empty inputs. 2018-07-24 21:50:06 +00:00
global-symbol-builder [clangd] Track origins of symbols (various indexes, Sema). 2018-07-05 06:20:41 +00:00
index [clangd] Introduce Dex symbol index search tokens 2018-07-25 10:34:57 +00:00
tool [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
AST.cpp [clangd] Expose qualified symbol names in CompletionItem (C++ structure only, no json). 2018-06-22 10:46:59 +00:00
AST.h [clangd] Expose qualified symbol names in CompletionItem (C++ structure only, no json). 2018-06-22 10:46:59 +00:00
CMakeLists.txt [clangd] Introduce Dex symbol index search tokens 2018-07-25 10:34:57 +00:00
ClangdLSPServer.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
ClangdLSPServer.h [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
ClangdServer.cpp [clangd] Extract FileSystemProvider into a separate header. NFC 2018-07-12 14:49:52 +00:00
ClangdServer.h [clangd] Extract FileSystemProvider into a separate header. NFC 2018-07-12 14:49:52 +00:00
ClangdUnit.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
ClangdUnit.h [clangd] Incorporate transitive #includes into code complete proximity scoring. 2018-07-03 08:09:29 +00:00
CodeComplete.cpp [clangd] Penalize non-instance members when accessed via class instances. 2018-07-23 10:56:37 +00:00
CodeComplete.h [clangd] Penalize non-instance members when accessed via class instances. 2018-07-23 10:56:37 +00:00
CodeCompletionStrings.cpp [clangd] Do not write comments into Preamble PCH 2018-07-09 11:33:31 +00:00
CodeCompletionStrings.h [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
Compiler.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
Compiler.h [clangd] Log all ignored diagnostics. 2018-02-12 12:48:51 +00:00
Context.cpp [clangd] Address FIXME and fix comment 2018-02-25 07:21:16 +00:00
Context.h [clangd] context key constructor is constexpr. NFC 2018-06-15 12:39:21 +00:00
Diagnostics.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
Diagnostics.h [clangd] Prune some dead declarations. No functionality change. 2018-04-23 14:58:18 +00:00
DraftStore.cpp [clangd] Support incremental document syncing 2018-03-26 14:41:40 +00:00
DraftStore.h [clangd] Support incremental document syncing 2018-03-26 14:41:40 +00:00
FSProvider.h [clangd] Extract FileSystemProvider into a separate header. NFC 2018-07-12 14:49:52 +00:00
FileDistance.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
FileDistance.h [clangd] Incorporate transitive #includes into code complete proximity scoring. 2018-07-03 08:09:29 +00:00
FindSymbols.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
FindSymbols.h [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
Function.h [clangd] Replace UniqueFunction with llvm::unique_function. 2018-07-03 20:59:33 +00:00
FuzzyMatch.cpp [clangd] FuzzyMatch exposes an API for its word segmentation. NFC 2018-07-20 08:01:37 +00:00
FuzzyMatch.h [clangd] FuzzyMatch exposes an API for its word segmentation. NFC 2018-07-20 08:01:37 +00:00
GlobalCompilationDatabase.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
GlobalCompilationDatabase.h [clangd] Move caching of compile args out of ClangdServer. 2018-06-13 09:20:41 +00:00
Headers.cpp [clangd] Incorporate transitive #includes into code complete proximity scoring. 2018-07-03 08:09:29 +00:00
Headers.h [clangd] Incorporate transitive #includes into code complete proximity scoring. 2018-07-03 08:09:29 +00:00
JSONRPCDispatcher.cpp [clangd] log request/response messages with method/ID/error at INFO level 2018-07-12 11:52:18 +00:00
JSONRPCDispatcher.h [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
Logger.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
Logger.h [clangd] Simplify logging wrapper after r336888 2018-07-12 08:00:21 +00:00
Path.h Restored r303067 and fixed failing test. 2017-05-16 09:38:59 +00:00
Protocol.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
Protocol.h [clangd] Remove JSON library in favor of llvm/Support/JSON 2018-07-09 14:25:59 +00:00
ProtocolHandlers.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
ProtocolHandlers.h [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
Quality.cpp [clangd] Use a sigmoid style function for #usages boost in symbol quality. 2018-07-25 11:26:35 +00:00
Quality.h [clangd] Tune down quality score for class constructors so that it's ranked after class types. 2018-07-24 08:51:52 +00:00
SourceCode.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
SourceCode.h [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
TUScheduler.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
TUScheduler.h [clangd] Wait for first preamble before code completion 2018-07-09 10:45:33 +00:00
Threading.cpp [clangd] Replace UniqueFunction with llvm::unique_function. 2018-07-03 20:59:33 +00:00
Threading.h [clangd] Replace UniqueFunction with llvm::unique_function. 2018-07-03 20:59:33 +00:00
Trace.cpp [clangd] Remove JSON library in favor of llvm/Support/JSON 2018-07-09 14:25:59 +00:00
Trace.h [clangd] Remove JSON library in favor of llvm/Support/JSON 2018-07-09 14:25:59 +00:00
URI.cpp [clangd] Allow using customized include path in URI. 2018-04-09 15:09:44 +00:00
URI.h [clangd] clang-format the source code. NFC 2018-05-30 12:41:19 +00:00
XRefs.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
XRefs.h [clangd] Hover should return null when not hovering over anything. 2018-06-04 10:37:16 +00:00