Skip to content

Commit 375ebce

Browse files
committed
Fixed to remove the warning.
1 parent 21d6a41 commit 375ebce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ namespace clang::tidy::readability {
1818
class UseCppStyleCommentsCheck::CStyleCommentHandler : public CommentHandler {
1919
public:
2020
CStyleCommentHandler(UseCppStyleCommentsCheck &Check, bool ExcludeDoxygen)
21-
: Check(Check),
21+
: Check(Check), ExcludeDoxygen(ExcludeDoxygen),
2222
CStyleCommentMatch(
23-
"^[ \t]*/\\*+[ \t\r\n]*(.*[ \t\r\n]*)*[ \t\r\n]*\\*+/[ \t\r\n]*$"),
24-
ExcludeDoxygen(ExcludeDoxygen) {}
23+
"^[ \t]*/\\*+[ \t\r\n]*(.*[ \t\r\n]*)*[ \t\r\n]*\\*+/[ \t\r\n]*$") {
24+
}
2525

2626
void setExcludeDoxygen(bool Exclude) { ExcludeDoxygen = Exclude; }
2727

0 commit comments

Comments
 (0)