[all-commits] [llvm/llvm-project] 7f2bcd: [CUDA] add wrapper header for libc++'s __utlility/...

Artem Belevich via All-commits all-commits at lists.llvm.org
Tue Jul 15 13:56:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f2bcd97cf4afc94e4badb2f6acd229003ef5912
      https://github.com/llvm/llvm-project/commit/7f2bcd97cf4afc94e4badb2f6acd229003ef5912
  Author: Artem Belevich <tra at google.com>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/cuda_wrappers/__utility/declval.h

  Log Message:
  -----------
  [CUDA] add wrapper header for libc++'s __utlility/declval.h (#148918)

Since #116709 more libc++ code relies on std::declval() and it broke
some CUDA compilations.

The new wrapper adds GPU-side overloads for the declval() helper
functions which allows it to continue working when used from CUDA
sources.



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