Skip to content

Commit 3d02ecd

Browse files
committed
Fixed Formatting issues
1 parent ba3c7bb commit 3d02ecd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang-tools-extra/clang-tidy/readability/UseCppStyleCommentsCheck.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class UseCppStyleCommentsCheck::CStyleCommentHandler : public CommentHandler {
6868

6969
const StringRef Text = Lexer::getSourceText(
7070
CharSourceRange::getCharRange(Range), SM, PP.getLangOpts());
71-
71+
7272
if (StartLine == EndLine) {
7373
const SourceLocation LineBegin =
7474
SM.translateLineCol(SM.getFileID(CommentStart), StartLine, 1);
@@ -78,7 +78,8 @@ class UseCppStyleCommentsCheck::CStyleCommentHandler : public CommentHandler {
7878
const StringRef LineContent = Lexer::getSourceText(
7979
CharSourceRange::getCharRange(LineBegin, LineEnd), SM,
8080
PP.getLangOpts());
81-
const size_t CommentStartOffset = SM.getSpellingColumnNumber(CommentStart) - 1;
81+
const size_t CommentStartOffset =
82+
SM.getSpellingColumnNumber(CommentStart) - 1;
8283
const StringRef AfterComment =
8384
LineContent.drop_front(CommentStartOffset + Text.size());
8485

0 commit comments

Comments
 (0)