[PATCH] D53638: [clangd] Downrank members from base class
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 24 06:39:33 PDT 2018
ioeric added inline comments.
================
Comment at: clangd/Quality.cpp:380
+ if (InBaseClass)
+ Score *= 0.7;
+
----------------
sammccall wrote:
> This seems like a pretty light penalty to me, I'd consider 0.5...
0.5 sounds reasonable. I think we should penalize the non-instance member case more if this is 0.5 though. Made that 0.2. WDYT?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53638
More information about the cfe-commits
mailing list