This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Support no libc++ namespace in the iterator test.
ClosedPublic

Authored by vvereschaka on Nov 25 2020, 4:02 PM.

Details

Summary

The 5f12f4ff9078455cad9d4806da01f570553a5bf9 commit suppress printing of inline namespace names in diagnostics by default that breaks the libc++ iterator test, which expects __1 in the namespace.

See more details here: https://reviews.llvm.org/rG5f12f4ff9078455cad9d4806da01f570553a5bf9

This patch fixes the test by supporting a test case without __1 in the namespace.

The broken test log for example:
http://lab.llvm.org:8011/#/builders/119/builds/1049/steps/14/logs/FAIL__libc____empty_fail_cpp

Diff Detail