Makes the code a bit safer in the unlikely situation that we don't get a ClangUserExpression
when doing code completion.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp | ||
---|---|---|
860–862 | These two lines are equivalent to auto *llvm_expr = cast<ClangUserExpression>(&m_expr); |
These two lines are equivalent to auto *llvm_expr = cast<ClangUserExpression>(&m_expr);