File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments