Skip to content

Conversation

@IdrissRio
Copy link
Contributor

@IdrissRio IdrissRio commented Dec 9, 2025

This PR extends the C++ overlay discard predicates in Overlay.qll to handle multi-location entities correctly.

@github-actions github-actions bot added the C++ label Dec 9, 2025
@IdrissRio IdrissRio force-pushed the idrissrio/cpp/overlay/locations branch from 3cd6fd0 to 596061c Compare December 9, 2025 12:25
@IdrissRio IdrissRio force-pushed the idrissrio/cpp/overlay/locations branch from 596061c to fcd7ea4 Compare December 9, 2025 12:32
@IdrissRio IdrissRio force-pushed the idrissrio/cpp/overlay/locations branch from fcd7ea4 to 61823ea Compare December 9, 2025 13:21
@IdrissRio IdrissRio marked this pull request as ready for review December 10, 2025 04:22
@IdrissRio IdrissRio requested a review from a team as a code owner December 10, 2025 04:22
Copilot AI review requested due to automatic review settings December 10, 2025 04:22
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 extends the C++ overlay discard predicates in Overlay.qll to properly handle multi-location entities by adding support for functions, types, namespaces, macros, and preprocessor directives.

  • Expands getSingleLocationFilePath to handle function declarations, type declarations, namespace declarations, macro invocations, and preprocessor directives
  • Expands getMultiLocationFilePath to handle function declarations, type declarations, and namespace declarations with multiple locations
  • Removes TODO comments that are now addressed by the implementation

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

@IdrissRio IdrissRio added the no-change-note-required This PR does not need a change note label Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants