Skip to content
Commit 5d1e3ed3 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[clang-tidy] SimplifyBooleanExprCheck - use cast<> instead of dyn_cast<> to...

[clang-tidy] SimplifyBooleanExprCheck - use cast<> instead of dyn_cast<> to avoid dereference of nullptr

The IfStmt pointer is always referenced inside the replaceCompoundReturnWithCondition call, so assert the cast is correct instead of returning nullptr
parent a0e8077d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment