[clang] [clang-format] Limit how much work guessLanguage() can do (PR #78925)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 22 12:21:31 PST 2024
================
@@ -243,6 +247,14 @@ void UnwrappedLineParser::parse() {
Callback.consumeUnwrappedLine(Line);
}
Callback.finishRun();
+ TotalLinesProcessed += Lines.size();
+ if ((TotalLinesProcessed / 10000) > LastReport) {
----------------
HighCommander4 wrote:
My bad, I left that in there by accident. Removed now.
https://github.com/llvm/llvm-project/pull/78925
More information about the cfe-commits
mailing list