[all-commits] [llvm/llvm-project] d65e66: [libcxx][test] fix allocator in allocator_propagat...

Casey Carter via All-commits all-commits at lists.llvm.org
Wed Jan 4 15:34:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d65e66abb3bd4535e1900c0c7901c0f6254acf34
      https://github.com/llvm/llvm-project/commit/d65e66abb3bd4535e1900c0c7901c0f6254acf34
  Author: Casey Carter <Casey at Carter.net>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/allocator_propagation.pass.cpp

  Log Message:
  -----------
  [libcxx][test] fix allocator in allocator_propagation test

The converting constructor is ill-formed, and `==` is missing. (I didn't implement `!=` since the test is C++20-and-later only; I'll let the compiler do it for us.)

Drive-by: change 4-space indent on line 27 to 2-space indent to be consistent with the rest of the test.

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




More information about the All-commits mailing list