[all-commits] [llvm/llvm-project] 27ef54: [clang-tidy] Fix crash in modernize-use-designated...
z1nke via All-commits
all-commits at lists.llvm.org
Tue Oct 29 12:49:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27ef549af2c2f60d05f38db1ecc7a8ad7294351d
https://github.com/llvm/llvm-project/commit/27ef549af2c2f60d05f38db1ecc7a8ad7294351d
Author: z1nke <iamczn.cpp at gmail.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-designated-initializers.cpp
Log Message:
-----------
[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).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list