@@ -621,9 +621,9 @@ void FormatTokenLexer::handleCSharpVerbatimAndInterpolatedStrings() {
621
621
if (LastBreak != StringRef::npos) {
622
622
CSharpStringLiteral->IsMultiline = true ;
623
623
unsigned StartColumn = 0 ;
624
- CSharpStringLiteral->LastLineColumnWidth = encoding::columnWidthWithTabs (
625
- LiteralText.substr (LastBreak + 1 , LiteralText. size ()), StartColumn ,
626
- Style.TabWidth , Encoding);
624
+ CSharpStringLiteral->LastLineColumnWidth =
625
+ encoding::columnWidthWithTabs ( LiteralText.substr (LastBreak + 1 ) ,
626
+ StartColumn, Style.TabWidth , Encoding);
627
627
}
628
628
629
629
SourceLocation loc = Offset < Lex->getBuffer ().end ()
@@ -688,9 +688,9 @@ void FormatTokenLexer::handleTemplateStrings() {
688
688
if (LastBreak != StringRef::npos) {
689
689
BacktickToken->IsMultiline = true ;
690
690
unsigned StartColumn = 0 ; // The template tail spans the entire line.
691
- BacktickToken->LastLineColumnWidth = encoding::columnWidthWithTabs (
692
- LiteralText.substr (LastBreak + 1 , LiteralText. size ()), StartColumn ,
693
- Style.TabWidth , Encoding);
691
+ BacktickToken->LastLineColumnWidth =
692
+ encoding::columnWidthWithTabs ( LiteralText.substr (LastBreak + 1 ) ,
693
+ StartColumn, Style.TabWidth , Encoding);
694
694
}
695
695
696
696
SourceLocation loc = Offset < Lex->getBuffer ().end ()
0 commit comments