File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -76,17 +76,17 @@ class UseCppStyleCommentsCheck::CStyleCommentHandler : public CommentHandler {
7676
7777 unsigned EndLine = SM.getSpellingLineNumber (CommentEnd);
7878 unsigned EndCol = SM.getSpellingColumnNumber (CommentEnd);
79-
79+
8080 const SourceLocation LineBegin =
81- SM.translateLineCol (SM.getFileID (CommentEnd),EndLine, EndCol);
81+ SM.translateLineCol (SM.getFileID (CommentEnd), EndLine, EndCol);
8282 const SourceLocation LineEnd =
8383 SM.translateLineCol (SM.getFileID (CommentEnd), EndLine,
8484 std::numeric_limits<unsigned >::max ());
85- const StringRef AfterComment = Lexer::getSourceText (
86- CharSourceRange::getCharRange (LineBegin, LineEnd), SM ,
87- PP.getLangOpts ());
85+ const StringRef AfterComment =
86+ Lexer::getSourceText ( CharSourceRange::getCharRange (LineBegin, LineEnd),
87+ SM, PP.getLangOpts ());
8888
89- return !AfterComment.trim ().empty ();
89+ return !AfterComment.trim ().empty ();
9090 }
9191
9292 bool HandleComment (Preprocessor &PP, SourceRange Range) override {
You can’t perform that action at this time.
0 commit comments