Author: Gabriel Smith Date: 2022-01-03T11:51:13+01:00 New Revision: 694e6bcd525f9ceae6f377faa43115e22e839244
URL: https://github.com/llvm/llvm-project/commit/694e6bcd525f9ceae6f377faa43115e22e839244 DIFF: https://github.com/llvm/llvm-project/commit/694e6bcd525f9ceae6f377faa43115e22e839244.diff LOG: [clang-format][NFC] Correct comment about checking merging of blocks Reviewed By: HazardyKnusperkeks, MyDeveloperDay, owenpan Differential Revision: https://reviews.llvm.org/D116189 Added: Modified: clang/lib/Format/UnwrappedLineFormatter.cpp Removed: ################################################################################ diff --git a/clang/lib/Format/UnwrappedLineFormatter.cpp b/clang/lib/Format/UnwrappedLineFormatter.cpp index f652a4e7088f..89f87f0375cd 100644 --- a/clang/lib/Format/UnwrappedLineFormatter.cpp +++ b/clang/lib/Format/UnwrappedLineFormatter.cpp @@ -391,7 +391,7 @@ class LineJoiner { } } - // Try to merge a block with left brace wrapped that wasn't yet covered + // Try to merge a block with left brace unwrapped that wasn't yet covered if (TheLine->Last->is(tok::l_brace)) { const FormatToken *Tok = TheLine->First; bool ShouldMerge = false; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits