-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
clang-tidy crashes with bugprone-suspicious-realloc-usage check #59518
Labels
Comments
EugeneZelenko
added
clang-tidy
crash
Prefer [crash-on-valid] or [crash-on-invalid]
and removed
new issue
labels
Dec 14, 2022
@llvm/issue-subscribers-clang-tidy |
@balazske: Please take a look. |
https://reviews.llvm.org/D140194 should fix this crash. |
balazske
added a commit
that referenced
this issue
Dec 21, 2022
The problem occurs if a statement is found by the checker that has a null child. Fixes issue #59518. Reviewed By: hokein Differential Revision: https://reviews.llvm.org/D140194
malavikasamak
pushed a commit
to apple/llvm-project
that referenced
this issue
Jan 6, 2023
The problem occurs if a statement is found by the checker that has a null child. Fixes issue llvm#59518. Reviewed By: hokein Differential Revision: https://reviews.llvm.org/D140194 (cherry picked from commit 01303f6)
The problem looks to be fixed. |
malavikasamak
pushed a commit
to apple/llvm-project
that referenced
this issue
Jan 17, 2023
The problem occurs if a statement is found by the checker that has a null child. Fixes issue llvm#59518. Reviewed By: hokein Differential Revision: https://reviews.llvm.org/D140194 (cherry picked from commit 01303f6)
malavikasamak
pushed a commit
to apple/llvm-project
that referenced
this issue
Jan 23, 2023
The problem occurs if a statement is found by the checker that has a null child. Fixes issue llvm#59518. Reviewed By: hokein Differential Revision: https://reviews.llvm.org/D140194 (cherry picked from commit 01303f6)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Contents of
crash.cpp
:clang-tidy built from LLVM sources d4b6fcb (with minor patch that should not affect clang-tidy):
The text was updated successfully, but these errors were encountered: