Skip to content

CPP: delete the deprecated Container::getURL predicates#13460

Merged
jketema merged 2 commits intogithub:mainfrom
erik-krogh:rest-of-cpp
Jun 19, 2023
Merged

CPP: delete the deprecated Container::getURL predicates#13460
jketema merged 2 commits intogithub:mainfrom
erik-krogh:rest-of-cpp

Conversation

@erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Jun 14, 2023

Depends on internal PR (see backref).

@github-actions github-actions bot added the C++ label Jun 14, 2023
@erik-krogh erik-krogh marked this pull request as ready for review June 15, 2023 08:58
@erik-krogh erik-krogh requested a review from a team as a code owner June 15, 2023 08:58
@jketema
Copy link
Contributor

jketema commented Jun 19, 2023

Thanks for this.

I'm somewhat concerned that this causes a regression in one of our internal tests. However, the test seems to generate TRAP that is not representative of what the C/C++ extractor will generate (which will always include an appropriate location). So I think this change is ok, but I'd like to hear the opinion of someone else in @github/codeql-c-analysis.

@MathiasVP
Copy link
Contributor

If the test isn't representative of what the extractor actually generates I'm also totally okay with this. In fact, we should probably update the test to better reflect what the extractor does.

@jketema
Copy link
Contributor

jketema commented Jun 19, 2023

In fact, we should probably update the test to better reflect what the extractor does.

Not sure whether that's worth it. The test tests something funny with sizes of things, and locations/urls are not really relevant for that and the size part of the test doesn't break by this change.

@jketema
Copy link
Contributor

jketema commented Jun 19, 2023

@erik-krogh Can you add a change note? I think we can approve/merge this.

@jketema
Copy link
Contributor

jketema commented Jun 19, 2023

@erik-krogh The change note check failed. Also happy 2023 (see date on change note).

@jketema
Copy link
Contributor

jketema commented Jun 19, 2023

I think the date on the change note should be 2023-06-19, not 2023-19-06.

@erik-krogh
Copy link
Contributor Author

Rebased on main to get around a submodule bump.

@erik-krogh
Copy link
Contributor Author

And another rebase on main to get around a submodule bump.

@jketema jketema merged commit b500bbb into github:main Jun 19, 2023
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