The problem occurs if a statement is found by the checker that has a null child.
Fixes issue #59518.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D140194
[clang-tidy] Fix crash in bugprone-suspicious-realloc-usage. ClosedPublic Authored by balazske on Dec 16 2022, 1:53 AM.
Details Summary The problem occurs if a statement is found by the checker that has a null child.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 19 2022, 10:56 AM Closed by commit rG01303f6d1bba: [clang-tidy] Fix crash in bugprone-suspicious-realloc-usage. (authored by balazske). · Explain WhyDec 21 2022, 12:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 483456 clang-tools-extra/clang-tidy/bugprone/SuspiciousReallocUsageCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone/suspicious-realloc-usage.cpp
|
clang-format not found in user’s local PATH; not linting file.