[all-commits] [llvm/llvm-project] 032323: [libc] Add user defined literals to initialize `Bi...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Wed Feb 14 05:08:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03232350536655234a30eca17ea56c8cb636831c
      https://github.com/llvm/llvm-project/commit/03232350536655234a30eca17ea56c8cb636831c
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M libc/src/__support/CMakeLists.txt
    A libc/src/__support/integer_literals.h
    M libc/test/src/__support/CMakeLists.txt
    M libc/test/src/__support/FPUtil/CMakeLists.txt
    M libc/test/src/__support/FPUtil/fpbits_test.cpp
    A libc/test/src/__support/integer_literals_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel

  Log Message:
  -----------
  [libc] Add user defined literals to initialize `BigInt` and `__uint128_t` constants (#81267)

Adds user defined literal to construct unsigned integer constants. This
is useful when constructing constants for non native C++ types like
`__uint128_t` or our custom `BigInt` type.




More information about the All-commits mailing list