[all-commits] [llvm/llvm-project] 28d414: [clang][dataflow] Fix casting in `ChromiumCheckMod...
Pasquale Riello via All-commits
all-commits at lists.llvm.org
Fri Aug 2 06:33:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 28d4149ba0c1748f570fecb683fb1fda62bfd974
https://github.com/llvm/llvm-project/commit/28d4149ba0c1748f570fecb683fb1fda62bfd974
Author: Pasquale Riello <pas.riello at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp
Log Message:
-----------
[clang][dataflow] Fix casting in `ChromiumCheckModel`. (#101640)
`getDirectCallee()` may return a null pointer if the callee is not a
`FunctionDecl` (for example when using function pointers), this requires
to use `dyn_cast_or_null` instead of `dyn_cast`.
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