llvm-project
c51a758d - [lldb][test] Add SBExpressionOptions parameter to expect_expr (#177920)

Commit
3 days ago
[lldb][test] Add SBExpressionOptions parameter to expect_expr (#177920) Allows API tests to pass `SBExpressionOptions` when testing a successful expression evaluation with `expect_expr`. Currently one would have to use `SBFrame::EvaluateExpression` or pass the option as an argument to the raw command (via `expect()` or `HandleCommand()`). Chose not to do the `SetIgnoreBreakpoints`/`SetAutoApplyFixIts` with the assumption that most expression evaluation tests don't actually need to care about these. If the options are passed explicitly, lets use them as-is. Otherwise default to the old options. First usage of this new parameter would be in https://github.com/llvm/llvm-project/pull/177926
Author
Parents
Loading