-
Notifications
You must be signed in to change notification settings - Fork 1.9k
C++: Add class representing calling conventions #19159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c4cae31 to
86786fc
Compare
There was a problem hiding this 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
86786fc to
67b4713
Compare
jketema
left a comment
There was a problem hiding this 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.
67b4713 to
d61d973
Compare
jketema
left a comment
There was a problem hiding this 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.
CallingConventionSpecifierto represent calling conventions in C++ functions.