sammccall added a comment.

Added before/after



================
Comment at: clangd/Quality.cpp:160
+    case Keyword:  // Often relevant, but misses most signals.
+      Score *= 4;  // FIXME: important keywords should have specific boosts.
       break;
----------------
hokein wrote:
> I'm curious on how we choose these magic numbers, by experience?
Yeah, the constraint being satisfied here is boost(Keyword) < 
boost(FunctionScope) * boost(Variable)


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D48368



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to