The existing code causes an infinite recursion. This is likely an
oversight of commit c0e5e3fbfa504c37 [1] where the intent must have been
to call the non-const overload.
Details
Details
- Reviewers
gribozavr2 - Commits
- rG595c3758e470: Fix the const overload of IgnoreExprNodes
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@gribozavr2 it's also unclear to me where the tests for this are so I couldn't add a new test, is that OK?
Comment Actions
More importantly, the bug exists in LLVM 12, what is the policy of patching the back branches in this project?
Comment Actions
Trying arc land I realize I do not...
Pushed as 595c3758e47042c876e7390d09642ea050ba6dbf.
it's also unclear to me where the tests for this are so I couldn't add a new test, is that OK?
Yes, unfortunately we don't have unit tests for the AST.
More importantly, the bug exists in LLVM 12, what is the policy of patching the back branches in this project?
Please take a look at https://llvm.org/docs/HowToReleaseLLVM.html#merge-requests .