[PATCH] D97620: Fix DecisionForestBenchmark.cpp compile errors
Utkarsh Saxena via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 1 02:42:01 PST 2021
usaxena95 accepted this revision.
usaxena95 added a comment.
This revision is now accepted and ready to land.
LG. Thanks for noticing and fixing it!
================
Comment at: clang-tools-extra/clangd/benchmarks/CompletionModel/DecisionForestBenchmark.cpp:41
E.setSymbolCategory(RandInt(10)); // 10 Symbol Category.
-
+ E.setNumNameInContext(RandInt(20)); // 0 to ContextWords->keys().
+ E.setFractionNameInContext(RandFloat(1.0)); // Float in range [0,1].
----------------
s/keys()/size().
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97620/new/
https://reviews.llvm.org/D97620
More information about the cfe-commits
mailing list