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

[clang] ScalarExprEmitter::VisitCastExpr - use castAs<> instead of getAs<> to...

[clang] ScalarExprEmitter::VisitCastExpr - use castAs<> instead of getAs<> to avoid dereference of nullptr

The pointers are always dereferenced, so assert the cast is correct instead of returning nullptr
parent a157d839
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment