[all-commits] [llvm/llvm-project] 009ba7: [libc][NFC] Remove libcpp include from atanf_test ...

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue Nov 7 10:35:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 009ba779c46829005396ac8c3c6d3c0f17b21091
      https://github.com/llvm/llvm-project/commit/009ba779c46829005396ac8c3c6d3c0f17b21091
  Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M libc/test/src/math/atanf_test.cpp

  Log Message:
  -----------
  [libc][NFC] Remove libcpp include from atanf_test (#71449)

The test for atanf used <initializer_list> to simplify iterating through
an array. This caused issues with the new features.h change by creating
a
libcpp dependency in the test. This change moves the list to an array
variable, removing the need for that dependency.




More information about the All-commits mailing list