diff options
author | z1nke <iamczn.cpp@gmail.com> | 2024-10-30 03:48:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-29 15:48:39 -0400 |
commit | 27ef549af2c2f60d05f38db1ecc7a8ad7294351d (patch) | |
tree | ea478e01e73ea697bf2910ed75c5abb07a23332f /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp | |
parent | 8a0cb9ac869334fd6c6bd6aad8408623a7ccd7f6 (diff) | |
download | llvm-27ef549af2c2f60d05f38db1ecc7a8ad7294351d.zip llvm-27ef549af2c2f60d05f38db1ecc7a8ad7294351d.tar.gz llvm-27ef549af2c2f60d05f38db1ecc7a8ad7294351d.tar.bz2 |
[clang-tidy] Fix crash in modernize-use-designated-initializers check (#113688)
Fix #113652.
When calling `Node.isAggregate()` and `Node.isPOD()`, if `Node` is declared but
not defined, it will result in null pointer dereference (and if assertions are
enabled, it will cause an assertion failure).
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions