sammccall added a comment.

oops, just saw this is closed - will fix these nits as I'm touching this file 
soon



================
Comment at: clangd/Quality.h:68
+  /// Proximity between the best declaration and the query location. [0-1] 
score
+  /// where 1 is closest
+  float ProximityScore = 0;
----------------
(nit: trailing .)


================
Comment at: unittests/clangd/QualityTests.cpp:139
+  WithProximity.ProximityScore = 0.2;
+  EXPECT_LT(Default.evaluate(), WithProximity.evaluate());
 }
----------------
nit: can you EXPECT_GT and reverse the order? (default is on the right in all 
tests above, even the positive signals for symbolquality)


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D46943



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

Reply via email to