[all-commits] [llvm/llvm-project] 7d3bba: [libc++] Add [[nodiscard]] extensions to the funct...

philnik777 via All-commits all-commits at lists.llvm.org
Tue Jun 13 08:01:49 PDT 2023


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

  Changed paths:
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/__bit/bit_ceil.h
    M libcxx/include/__bit/bit_floor.h
    M libcxx/include/__bit/bit_width.h
    M libcxx/include/__bit/byteswap.h
    M libcxx/include/__bit/countl.h
    M libcxx/include/__bit/countr.h
    M libcxx/include/__bit/has_single_bit.h
    M libcxx/include/__bit/popcount.h
    M libcxx/include/__bit/rotate.h
    A libcxx/test/libcxx/diagnostics/bit.nodiscard_extensions.compile.pass.cpp
    A libcxx/test/libcxx/diagnostics/bit.nodiscard_extensions.verify.cpp
    M libcxx/test/libcxx/diagnostics/nodiscard_extensions.compile.pass.cpp
    M libcxx/test/libcxx/diagnostics/nodiscard_extensions.verify.cpp
    A libcxx/test/std/numerics/bit/bitops.rot/nodiscard.verify.cpp

  Log Message:
  -----------
  [libc++] Add [[nodiscard]] extensions to the functions in <bit>

Reviewed By: #libc, ldionne, Mordante

Spies: Mordante, ldionne, libcxx-commits

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




More information about the All-commits mailing list