[all-commits] [llvm/llvm-project] 0edaba: [clang-tidy] fix crash in altera-id-dependent-back...
Julian Schmidt via All-commits
all-commits at lists.llvm.org
Sat Nov 2 04:08:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0edaba1b29f8eee011e5fdf387d6c786ec6cb52f
https://github.com/llvm/llvm-project/commit/0edaba1b29f8eee011e5fdf387d6c786ec6cb52f
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-11-02 (Sat, 02 Nov 2024)
Changed paths:
M clang-tools-extra/clang-tidy/altera/IdDependentBackwardBranchCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/altera/id-dependent-backward-branch.cpp
Log Message:
-----------
[clang-tidy] fix crash in altera-id-dependent-backward-branch (#113833)
Add some checks for `nullptr` and change some `dyn_cast` to
`dyn_cast_if_present` to avoid crashes.
Fixes #55408
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