Index: source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp =================================================================== --- source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp +++ source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp @@ -292,8 +292,7 @@ // // - During dematerialization, $0 is ignored. - bool is_lvalue = (last_expr->getValueKind() == VK_LValue || - last_expr->getValueKind() == VK_XValue) && + bool is_lvalue = (last_expr->getValueKind() == VK_LValue) && (last_expr->getObjectKind() == OK_Ordinary); QualType expr_qual_type = last_expr->getType();