Skip to content
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

Don't use original stmts in the generated code #1229

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

PetroZarytskyi
Copy link
Collaborator

It's not correct to use the original expressions L and R in the generated code. Also, it doesn't make sense why we exclusively differentiate DeclRefExpr.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
It's not correct to use the original expressions ``L`` and ``R`` in the generated code. Also, it doesn't make sense why we exclusively differentiate ``DeclRefExpr``.
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.66%. Comparing base (b36f56d) to head (44f0535).
Report is 4 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1229      +/-   ##
==========================================
+ Coverage   94.60%   94.66%   +0.06%     
==========================================
  Files          51       51              
  Lines        8929     8923       -6     
==========================================
  Hits         8447     8447              
+ Misses        482      476       -6     
Files with missing lines Coverage Δ
lib/Differentiator/ReverseModeVisitor.cpp 95.64% <100.00%> (+0.22%) ⬆️
Files with missing lines Coverage Δ
lib/Differentiator/ReverseModeVisitor.cpp 95.64% <100.00%> (+0.22%) ⬆️

Copy link
Owner

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

Lgtm!

@vgvassilev vgvassilev merged commit d4d29d8 into vgvassilev:master Jan 23, 2025
94 checks passed
@PetroZarytskyi PetroZarytskyi deleted the assign-warn branch January 23, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants