[all-commits] [llvm/llvm-project] e275e6: [libc++] Adds a make_string test helper function.

mordante via All-commits all-commits at lists.llvm.org
Thu Feb 4 08:17:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e275e629830fb2a776d724aef77e7e9e2e5ae931
      https://github.com/llvm/llvm-project/commit/e275e629830fb2a776d724aef77e7e9e2e5ae931
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M libcxx/test/support/filesystem_test_helper.h
    A libcxx/test/support/make_string.h
    A libcxx/test/support/test.support/make_string_header.pass.cpp

  Log Message:
  -----------
  [libc++] Adds a make_string test helper function.

These function makes it easier to write generic unit tests for the
format header. It solves the issue where it's not possible to use
  `templated_prefix"foo"`
where `templated_prefix` resolves to: nothing, `L`, `u8`, `u`,
or `U`. The templated_prefix would be more faster during execution.

Reviewed By: ldionne, #libc, curdeius

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




More information about the All-commits mailing list