Author: Salman Javed Date: 2021-12-23T10:25:05+13:00 New Revision: d840f3edf0297699e750413e629543c2a9271b90
URL: https://github.com/llvm/llvm-project/commit/d840f3edf0297699e750413e629543c2a9271b90 DIFF: https://github.com/llvm/llvm-project/commit/d840f3edf0297699e750413e629543c2a9271b90.diff LOG: Resolve -Wdocumentation warning in ClangTidyDiagnosticConsumer (NFC) Change to comments only; NFC. ``` ClangTidyDiagnosticConsumer.h:245:6: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation] ``` See this build for an example: https://lab.llvm.org/buildbot/#/builders/109/builds/27293/steps/5/logs/warnings__702_ Added: Modified: clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h Removed: ################################################################################ diff --git a/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h b/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h index 23800f5622f6..69f1ceddd9bd 100644 --- a/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h +++ b/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h @@ -241,14 +241,12 @@ getFixIt(const tooling::Diagnostic &Diagnostic, bool AnyFix); /// A diagnostic consumer that turns each \c Diagnostic into a /// \c SourceManager-independent \c ClangTidyError. -/// -/// \param EnableNolintBlocks Enables diagnostic-disabling inside blocks of -/// code, delimited by NOLINTBEGIN and NOLINTEND. -// // FIXME: If we move away from unit-tests, this can be moved to a private // implementation file. class ClangTidyDiagnosticConsumer : public DiagnosticConsumer { public: + /// \param EnableNolintBlocks Enables diagnostic-disabling inside blocks of + /// code, delimited by NOLINTBEGIN and NOLINTEND. ClangTidyDiagnosticConsumer(ClangTidyContext &Ctx, DiagnosticsEngine *ExternalDiagEngine = nullptr, bool RemoveIncompatibleErrors = true, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits