File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -172,18 +172,17 @@ UseCppStyleCommentsCheck::UseCppStyleCommentsCheck(StringRef Name,
172172 *this , Options.get(" ExcludeDoxygenStyleComments" , false ),
173173 Options.get(" ExcludedComments" , " ^$" ))) {}
174174
175+ void UseCppStyleCommentsCheck::storeOptions (ClangTidyOptions::OptionMap &Opts) {
176+ Options.store (Opts, " ExcludeDoxygenStyleComments" ,
177+ Handler->isExcludeDoxygen ());
178+ Options.store (Opts, " ExcludedComments" , Handler->getExcludedCommentsRegex ());
179+ }
175180void UseCppStyleCommentsCheck::registerPPCallbacks (
176181 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
177182 PP->addCommentHandler (Handler.get ());
178183}
179184
180185void UseCppStyleCommentsCheck::check (const MatchFinder::MatchResult &Result) {}
181186
182- void UseCppStyleCommentsCheck::storeOptions (ClangTidyOptions::OptionMap &Opts) {
183- Options.store (Opts, " ExcludeDoxygenStyleComments" ,
184- Handler->isExcludeDoxygen ());
185- Options.store (Opts, " ExcludedComments" , Handler->getExcludedCommentsRegex ());
186- }
187-
188187UseCppStyleCommentsCheck::~UseCppStyleCommentsCheck () = default ;
189188} // namespace clang::tidy::readability
You can’t perform that action at this time.
0 commit comments