aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
diff options
context:
space:
mode:
authorz1nke <iamczn.cpp@gmail.com>2024-10-30 03:48:39 +0800
committerGitHub <noreply@github.com>2024-10-29 15:48:39 -0400
commit27ef549af2c2f60d05f38db1ecc7a8ad7294351d (patch)
treeea478e01e73ea697bf2910ed75c5abb07a23332f /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
parent8a0cb9ac869334fd6c6bd6aad8408623a7ccd7f6 (diff)
downloadllvm-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