Skip to content

C++: Revert #8515 #8933

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 1 commit into from
Apr 28, 2022
Merged

C++: Revert #8515 #8933

merged 1 commit into from
Apr 28, 2022

Conversation

MathiasVP
Copy link
Contributor

This was causing performance issues on some projects. We already have a fix for the performance here, but it's causing some new consistency failures in dataflow. So let's just revert the PR for now.

This reverts commit 800e4ea, reversing
changes made to 7ce040f.

DCA: https://github.com/github/codeql-dca-main/issues/4212

…al-vars"

This reverts commit 800e4ea, reversing
changes made to 7ce040f.
@MathiasVP MathiasVP requested review from a team as code owners April 28, 2022 08:27
@MathiasVP MathiasVP changed the title Revert "Merge pull request #8515 from rdmarsh2/rdmarsh2/ir-global-vars" C++: Revert #8515 Apr 28, 2022
@MathiasVP MathiasVP added the no-change-note-required This PR does not need a change note label Apr 28, 2022
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

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

Found 1 vulnerability.

Comment on lines 7 to +8
private newtype TIRFunction =
TFunctionIRFunction(Language::Function func) { IRConstruction::Raw::functionHasIR(func) } or
TVarInitIRFunction(Language::GlobalVariable var) { IRConstruction::Raw::varHasIRFunc(var) }
MkIRFunction(Language::Function func) { IRConstruction::Raw::functionHasIR(func) }

Check warning

Code scanning / CodeQL

Acronyms should be PascalCase/camelCase.

Acronyms should be PascalCase/camelCase
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

Found 1 vulnerability.

Comment on lines 7 to +8
private newtype TIRFunction =
TFunctionIRFunction(Language::Function func) { IRConstruction::Raw::functionHasIR(func) } or
TVarInitIRFunction(Language::GlobalVariable var) { IRConstruction::Raw::varHasIRFunc(var) }
MkIRFunction(Language::Function func) { IRConstruction::Raw::functionHasIR(func) }

Check warning

Code scanning / CodeQL

Acronyms should be PascalCase/camelCase.

Acronyms should be PascalCase/camelCase
@MathiasVP MathiasVP merged commit 2517371 into github:main Apr 28, 2022
rdmarsh2 added a commit to rdmarsh2/ql that referenced this pull request Apr 29, 2022
rdmarsh2 added a commit to rdmarsh2/ql that referenced this pull request Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# 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