Skip to content

Add extra Customizations files #20252

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

Merged
merged 5 commits into from
Aug 20, 2025

Conversation

knewbury01
Copy link
Contributor

for languages that do not have a Customizations file, add one

@Copilot Copilot AI review requested due to automatic review settings August 19, 2025 19:14
@knewbury01 knewbury01 requested review from a team as code owners August 19, 2025 19:14
@github-actions github-actions bot added C++ Rust Pull requests that update Rust code Swift labels Aug 19, 2025
Copy link
Contributor

@Copilot 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 adds Customizations.qll files to three languages (Swift, Rust, and C++) that previously lacked them, following the established pattern used in other CodeQL language packs. The customizations infrastructure allows users to extend the standard library with their own models and customizations.

  • Adds new Customizations.qll files for Swift, Rust, and C++
  • Updates the main language pack files to import the new Customizations modules
  • Provides consistent infrastructure across languages for user-defined customizations

Reviewed Changes

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

Show a summary per file
File Description
swift/ql/lib/swift.qll Adds import statement for Customizations module
swift/ql/lib/Customizations.qll Creates new customizations file with documentation and swift import
rust/ql/lib/rust.qll Adds import statement for Customizations module
rust/ql/lib/Customizations.qll Creates new customizations file with documentation and rust import
cpp/ql/lib/cpp.qll Adds import statement for Customizations module
cpp/ql/lib/Customizations.qll Creates new customizations file with documentation and cpp import

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

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. Could you add three library change notes though (one for each language). See https://github.com/github/codeql/blob/main/docs/change-notes.md

@jketema jketema merged commit b79f0a2 into github:main Aug 20, 2025
32 checks passed
@geoffw0
Copy link
Contributor

geoffw0 commented Aug 22, 2025

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ documentation Rust Pull requests that update Rust code Swift
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants