diff options
| author | Owen Pan <owenpiano@gmail.com> | 2024-02-23 20:03:13 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-23 20:03:13 -0800 |
| commit | b0d2a52c87b36afab4734e1810fb9266aec1128f (patch) | |
| tree | 664c0998ddfc98e066507e309543c19122d64816 /clang/lib/Format/UnwrappedLineFormatter.cpp | |
| parent | 31ab2c4f616d686c06e9b573c8f1a4ae7ad2d8c3 (diff) | |
[clang-format][NFC] Enable RemoveSemicolon for clang-format style (#82735)
Also insert separators for decimal integers longer than 4 digits.
Diffstat (limited to 'clang/lib/Format/UnwrappedLineFormatter.cpp')
| -rw-r--r-- | clang/lib/Format/UnwrappedLineFormatter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Format/UnwrappedLineFormatter.cpp b/clang/lib/Format/UnwrappedLineFormatter.cpp index adeb07243487..fb31980ab9f4 100644 --- a/clang/lib/Format/UnwrappedLineFormatter.cpp +++ b/clang/lib/Format/UnwrappedLineFormatter.cpp @@ -1221,7 +1221,7 @@ private: // While not empty, take first element and follow edges. while (!Queue.empty()) { // Quit if we still haven't found a solution by now. - if (Count > 25000000) + if (Count > 25'000'000) return 0; Penalty = Queue.top().first.first; @@ -1235,7 +1235,7 @@ private: // Cut off the analysis of certain solutions if the analysis gets too // complex. See description of IgnoreStackForComparison. - if (Count > 50000) + if (Count > 50'000) Node->State.IgnoreStackForComparison = true; if (!Seen.insert(&Node->State).second) { |
