[clangd] Tune macro quality scoring for code completion.
authorEric Liu <ioeric@google.com>
Wed, 5 Sep 2018 07:40:38 +0000 (07:40 +0000)
committerEric Liu <ioeric@google.com>
Wed, 5 Sep 2018 07:40:38 +0000 (07:40 +0000)
commitf592d281a72b19131e447a3695f5a4a114eaebff
treec301f7531c5ac5c25d986c7e410773066385ebcd
parentf27dcf01d2ee999d82fb6f2a2db3d278c6493909
[clangd] Tune macro quality scoring for code completion.

x0.2 seems to be too much penalty, macros might be wanted in some cases;
changing to 0.5x instead. The tuning didn't affect ranking for non-macro
completions.

llvm-svn: 341449
clang-tools-extra/clangd/Quality.cpp