Skip to content

Enable -Wdocumentation and fix issues#73

Merged
derobins merged 1 commit into
developfrom
derobins/internal_doxygen_fixes
Nov 20, 2025
Merged

Enable -Wdocumentation and fix issues#73
derobins merged 1 commit into
developfrom
derobins/internal_doxygen_fixes

Conversation

@derobins
Copy link
Copy Markdown
Collaborator

-Wdocumentation is clang-specific

Copilot AI review requested due to automatic review settings November 20, 2025 18:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables the -Wdocumentation compiler warning flag for Clang builds and fixes documentation issues that were previously hidden. The changes correct parameter name mismatches between function signatures and their documentation comments, remove incorrect documentation parameters, and add missing return value descriptions.

  • Enabled -Wdocumentation warning flag in CMake configuration
  • Fixed parameter name mismatches in documentation comments
  • Removed outdated parameter documentation
  • Added missing return value description

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
cmake/AISClangCompilerOptions.cmake Enabled -Wdocumentation warning flag
rocfile/src/state.h Removed outdated @param entries that don't match function signature
rocfile/src/context.h Fixed parameter name from _current to _replacement to match function signature
rocfile/src/batch/batch.h Updated parameter names from ops/num_ops to params/num_params and batch_handle to handle
rocfile/src/backend.h Added missing return value description for score method

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@derobins derobins merged commit fdf9bbf into develop Nov 20, 2025
53 of 56 checks passed
@derobins derobins deleted the derobins/internal_doxygen_fixes branch November 20, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants