Skip to content

Conversation

@IdrissRio
Copy link
Contributor

@IdrissRio IdrissRio commented Mar 31, 2025

  • Introduced the class CallingConventionSpecifier to represent calling conventions in C++ functions.
  • Added tests for calling conventions in C++ functions.
  • Added a change note for calling convention support.

@IdrissRio IdrissRio added the C++ label Mar 31, 2025
@IdrissRio IdrissRio force-pushed the idrissrio/calling-conventions branch 3 times, most recently from c4cae31 to 86786fc Compare March 31, 2025 14:48
@IdrissRio IdrissRio marked this pull request as ready for review March 31, 2025 15:09
Copilot AI review requested due to automatic review settings March 31, 2025 15:09
@IdrissRio IdrissRio requested a review from a team as a code owner March 31, 2025 15:09
Copy link
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 introduces support for calling convention updates in C++ functions by adding tests and a change note.

  • Added tests for calling conventions in C++ functions
  • Added a change note for calling convention support
Files not reviewed (4)
  • cpp/ql/lib/semmle/code/cpp/Specifier.qll: Language not supported
  • cpp/ql/test/library-tests/calling-convention/calling-convention.expected: Language not supported
  • cpp/ql/test/library-tests/calling-convention/calling-convention.ql: Language not supported
  • cpp/ql/test/library-tests/calling-convention/test.cpp: Language not supported

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@IdrissRio IdrissRio force-pushed the idrissrio/calling-conventions branch from 86786fc to 67b4713 Compare March 31, 2025 15:46
@IdrissRio IdrissRio changed the title C++: accept changes for calling conventions after updates C++: Add class representing calling conventions Mar 31, 2025
Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

LGTM. I think we can make the change note a bit more precise though.

@IdrissRio IdrissRio force-pushed the idrissrio/calling-conventions branch from 67b4713 to d61d973 Compare April 1, 2025 07:53
Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

LGTM. No need to run DCA on this, as the new code is not used by any of our queries.

@IdrissRio IdrissRio merged commit 1ebce01 into main Apr 1, 2025
15 checks passed
@IdrissRio IdrissRio deleted the idrissrio/calling-conventions branch April 1, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants