This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Update regex to be less fragile in TestDataFormatterGenericUnordered
ClosedPublic

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

Details

Summary

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

Diff Detail