[libcxx-commits] [PATCH] D93414: [libc++] Adds a make_string test helper function.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 16 11:12:47 PST 2020


Mordante created this revision.
Mordante added a reviewer: ldionne.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93414

Files:
  libcxx/test/support/make_string.h
  libcxx/test/support/test.support/make_string_header.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93414.312270.patch
Type: text/x-patch
Size: 4308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201216/333b7008/attachment.bin>


More information about the libcxx-commits mailing list