diff options
author | Dave Lee <davelee.com@gmail.com> | 2025-03-17 14:30:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 14:30:39 -0700 |
commit | 6d2b8285b3f5f4d8f2ce184aeb14e791400a726d (patch) | |
tree | 064ff2d37e47c24871bd045b0aa5c2a13ee1b9d8 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 166937b49dac0919fae362c0deecb723b03be764 (diff) | |
download | llvm-6d2b8285b3f5f4d8f2ce184aeb14e791400a726d.zip llvm-6d2b8285b3f5f4d8f2ce184aeb14e791400a726d.tar.gz llvm-6d2b8285b3f5f4d8f2ce184aeb14e791400a726d.tar.bz2 |
[lldb] Support ordered patterns in lldbtest.expect (#131475)
Change `lldbtest.expect` to require the regexes in `patterns` be found in order – when the
`ordered` parameter is true. This matches the behavior of `substrs`.
The `ordered` parameter is true by default, so this change also fixes tests by either
tweaking the patterns to work in order, or by setting `ordered=False`.
I have often wanted to test with `patterns` and also verify the order. This change
allows that.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions