[clang] [clang-format] Limit how much work guessLanguage() can do (PR #78925)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 12:12:18 PST 2024


================
@@ -243,6 +247,14 @@ void UnwrappedLineParser::parse() {
       Callback.consumeUnwrappedLine(Line);
     }
     Callback.finishRun();
+    TotalLinesProcessed += Lines.size();
+    if ((TotalLinesProcessed / 10000) > LastReport) {
----------------
mydeveloperday wrote:

Do we need this verbose output?

https://github.com/llvm/llvm-project/pull/78925


More information about the cfe-commits mailing list