[all-commits] [llvm/llvm-project] 8f121a: [lldb] Update regex to be less fragile in TestData...
Dave Lee via All-commits
all-commits at lists.llvm.org
Fri Nov 11 11:43:16 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f121a3f18f7cc9dac08b7fb43ed7deec6adf583
https://github.com/llvm/llvm-project/commit/8f121a3f18f7cc9dac08b7fb43ed7deec6adf583
Author: Dave Lee <davelee.com at gmail.com>
Date: 2022-11-11 (Fri, 11 Nov 2022)
Changed paths:
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
Log Message:
-----------
[lldb] Update regex to be less fragile in TestDataFormatterGenericUnordered
Follow up to D129386 where libc++ naming conventions were made consistent.
This changes the pattern to not rely on the internal name (`__cc` or `__cc_`),
and instead uses a pattern to check that the child has the form:
```
[0] = {
first = ...
```
Thanks to @rupprecht for pointing out this issue: https://reviews.llvm.org/D133259#3773120
Reviewed By: rupprecht
Differential Revision: https://reviews.llvm.org/D133395
More information about the All-commits
mailing list