File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -525,13 +525,13 @@ bool isParagraphLineBreak(llvm::StringRef Str, size_t LineBreakIndex) {
525525 return Str.substr (LineBreakIndex + 1 )
526526 .drop_while ([](auto C) { return C == ' ' || C == ' \t ' ; })
527527 .startswith (" \n " );
528- };
528+ }
529529
530530bool isPunctuationLineBreak (llvm::StringRef Str, size_t LineBreakIndex) {
531531 constexpr llvm::StringLiteral Punctuation = R"txt( .:,;!?)txt" ;
532532
533533 return LineBreakIndex > 0 && Punctuation.contains (Str[LineBreakIndex - 1 ]);
534- };
534+ }
535535
536536bool isFollowedByHardLineBreakIndicator (llvm::StringRef Str,
537537 size_t LineBreakIndex) {
@@ -556,7 +556,7 @@ bool isFollowedByHardLineBreakIndicator(llvm::StringRef Str,
556556 Str[NextNonSpaceCharIndex + 1 ] == ' )' );
557557
558558 return FollowedBySingleCharIndicator || FollowedByNumberedListIndicator;
559- };
559+ }
560560
561561bool isHardLineBreak (llvm::StringRef Str, size_t LineBreakIndex) {
562562 return isPunctuationLineBreak (Str, LineBreakIndex) ||
You can’t perform that action at this time.
0 commit comments