[PATCH] D49667: [clangd] Tune down quality score for class constructors so that it's ranked after class types.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 23 05:37:42 PDT 2018


ilya-biryukov added a comment.

Just a drive-by comment.



================
Comment at: clangd/Quality.cpp:211
+  case Constructor:
+    Score *= 1.0f; // Rank class constructors after class types.
+    break;
----------------
NIT: This does not seem to change the score, right? Maybe just the assignment or merge with the `Unknown` case?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D49667





More information about the cfe-commits mailing list