diff options
| -rw-r--r-- | lldb/source/Expression/ASTResultSynthesizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp index f40266ce358..f295209f6bd 100644 --- a/lldb/source/Expression/ASTResultSynthesizer.cpp +++ b/lldb/source/Expression/ASTResultSynthesizer.cpp @@ -269,7 +269,7 @@ ASTResultSynthesizer::SynthesizeBodyResult (CompoundStmt *Body, if (!implicit_cast) break; - if (!implicit_cast->getCastKind() == CK_LValueToRValue) + if (implicit_cast->getCastKind() != CK_LValueToRValue) break; last_expr = implicit_cast->getSubExpr(); |

