[all-commits] [llvm/llvm-project] 7d26f9: [test] Allow libc++ namespaces besides `__1`

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Tue Nov 29 04:34:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d26f9e1329f981ed43eb31f66891702de2f6470
      https://github.com/llvm/llvm-project/commit/7d26f9e1329f981ed43eb31f66891702de2f6470
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M lldb/test/API/commands/expression/import-std-module/forward_decl_from_module/TestForwardDeclFromStdModule.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/TestDataFormatterLibcxxSharedPtr.py

  Log Message:
  -----------
  [test] Allow libc++ namespaces besides `__1`

The libc++ data formatter for `std::shared_ptr` allows any namespace, but the test asserts that it must be the default `__1` namespace. Relax the regex to allow anything that looks like `__.*` (although we use `__[^:]*` so we don't match arbitrarily long text).

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D129898




More information about the All-commits mailing list