[all-commits] [llvm/llvm-project] 6b4b29: [libc++][NFC] Remove unnecessary parens in static_...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Tue Jun 18 01:45:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b4b29f85900995b2a3b817548be4a534d46763b
      https://github.com/llvm/llvm-project/commit/6b4b29f85900995b2a3b817548be4a534d46763b
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-18 (Tue, 18 Jun 2024)

  Changed paths:
    M libcxx/include/__atomic/memory_order.h
    M libcxx/include/__hash_table
    M libcxx/include/__math/exponential_functions.h
    M libcxx/include/__math/fdim.h
    M libcxx/include/__math/fma.h
    M libcxx/include/__math/hypot.h
    M libcxx/include/__math/inverse_trigonometric_functions.h
    M libcxx/include/__math/min_max.h
    M libcxx/include/__math/modulo.h
    M libcxx/include/__math/remainder.h
    M libcxx/include/__math/rounding_functions.h
    M libcxx/include/__mdspan/extents.h
    M libcxx/include/__mdspan/layout_left.h
    M libcxx/include/__mdspan/layout_right.h
    M libcxx/include/__mdspan/layout_stride.h
    M libcxx/include/__numeric/gcd_lcm.h
    M libcxx/include/__thread/thread.h
    M libcxx/include/__tree
    M libcxx/include/cmath
    M libcxx/include/deque
    M libcxx/include/forward_list
    M libcxx/include/ios
    M libcxx/include/list
    M libcxx/include/map
    M libcxx/include/queue
    M libcxx/include/set
    M libcxx/include/stack
    M libcxx/include/streambuf
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/unordered_map
    M libcxx/include/unordered_set
    M libcxx/include/vector

  Log Message:
  -----------
  [libc++][NFC] Remove unnecessary parens in static_asserts (#95605)

These were required a long time ago due to `static_assert` not actually
being available in C++03. Now `static_assert` is simply mapped to
`_Static_assert` in C++03, making the additional parens unnecessary.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list