This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Update regex to be less fragile in TestDataFormatterGenericUnordered

Authored by kastiglione on Sep 6 2022, 7:41 PM.



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:

Diff Detail