klimek added inline comments.
================ Comment at: clangd/ClangdServer.h:105 +/// A helper class to pass concurrency parameters to ClangdScheduler. +class SchedulingParams { +public: ---------------- I think calling it "Options" is more idiomatic. ================ Comment at: clangd/ClangdServer.h:110 + static SchedulingParams RunOnCallingThread(); + /// Indicates then requests should be executed on separate worker threads. In + /// total \p ThreadsCount working threads will be created. ---------------- Typo: Indicates *that*. ================ Comment at: clangd/ClangdServer.h:121-122 +public: + /// Returns the number of threads to use when shouldRunsynchronously() is + /// false. Must not be called if shouldRunsynchronously() is true. + unsigned getThreadsCount(); ---------------- Why not: 1 -> run synchronously, > 1, run in parallel? https://reviews.llvm.org/D36261 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits