Skip to content

Commit 7ea2f30

Browse files
committed
Formatting
1 parent b50be5d commit 7ea2f30

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/lib/Lex/LiteralSupport.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,8 +1438,10 @@ void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) {
14381438
// Done
14391439
} else if ((isHexDigit(*s) && *s != 'e' && *s != 'E' && *s != '.') &&
14401440
!isValidUDSuffix(LangOpts, StringRef(s, ThisTokEnd - s))) {
1441-
auto InvalidDigitLoc = Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, LangOpts);
1442-
Diags.Report(InvalidDigitLoc, diag::err_invalid_digit) << StringRef(s, 1) << 1;
1441+
auto InvalidDigitLoc = Lexer::AdvanceToTokenCharacter(
1442+
TokLoc, s - ThisTokBegin, SM, LangOpts);
1443+
Diags.Report(InvalidDigitLoc, diag::err_invalid_digit)
1444+
<< StringRef(s, 1) << 1;
14431445
hadError = true;
14441446
}
14451447
// Other suffixes will be diagnosed by the caller.

0 commit comments

Comments
 (0)