Files
clang-p2996/clang/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp
Pasquale Riello 28d4149ba0 [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`.
2024-08-02 15:32:47 +02:00

2.4 KiB