Skip to content

Fix CompareRunPlanData Doxygen to reflect std::optional semantics#127

Merged
rrivera747 merged 2 commits intorrivera/betterCFORunPlanPrintoutCommentsfrom
copilot/sub-pr-125-again
Mar 9, 2026
Merged

Fix CompareRunPlanData Doxygen to reflect std::optional semantics#127
rrivera747 merged 2 commits intorrivera/betterCFORunPlanPrintoutCommentsfrom
copilot/sub-pr-125-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 9, 2026

The Doxygen for CompareRunPlanData still described the mismatches parameter using raw-pointer terminology ("nullptr") after the signature was refactored to use std::optional/std::nullopt. The andMasks and orMasks output parameters were also undocumented.

Changes

  • mismatches: replaced "nullptr" with std::nullopt; clarifies that passing std::nullopt (default) throws on first mismatch rather than collecting
  • andMasks / orMasks: added @param entries explaining each collects 48-bit mask values from AND_MODE_BITS / OR_MODE_BITS instructions respectively, and that std::nullopt skips collection
  • inputData / runPlanBaseAddress: added missing @param descriptions

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

… add andMasks/orMasks param docs

Co-authored-by: rrivera747 <[email protected]>
Copilot AI changed the title [WIP] WIP to address feedback on marker index for opcode printouts Fix CompareRunPlanData Doxygen to reflect std::optional semantics Mar 9, 2026
@rrivera747 rrivera747 marked this pull request as ready for review March 9, 2026 17:49
@rrivera747 rrivera747 merged commit 96469e4 into rrivera/betterCFORunPlanPrintoutComments Mar 9, 2026
@rrivera747 rrivera747 deleted the copilot/sub-pr-125-again branch March 9, 2026 17:49
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