forked from OSchip/llvm-project
If the fixed expression doesn't parse, don't tell the user about it.
llvm-svn: 265495
This commit is contained in:
parent
2fcb27b08c
commit
b29c42f9eb
|
@ -293,6 +293,11 @@ UserExpression::Evaluate (ExecutionContext &exe_ctx,
|
|||
diagnostic_manager.Clear();
|
||||
user_expression_sp = fixed_expression_sp;
|
||||
}
|
||||
else
|
||||
{
|
||||
// If the fixed expression failed to parse, don't tell the user about, that won't help.
|
||||
fixed_expression->clear();
|
||||
}
|
||||
}
|
||||
|
||||
if (!parse_success)
|
||||
|
|
Loading…
Reference in New Issue