[all-commits] [llvm/llvm-project] 091c11: [offload] `gnu::format` with variadic template fun...

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Feb 5 13:33:26 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 091c11f29e1665a950e74597b66add451d281b97
      https://github.com/llvm/llvm-project/commit/091c11f29e1665a950e74597b66add451d281b97
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M offload/plugins-nextgen/common/include/ErrorReporting.h

  Log Message:
  -----------
  [offload] `gnu::format` with variadic template functions is Clang-only (#124406)

Use `gnu::format` attribute only when compiling with Clang, as using it
against variadic template functions is a Clang extension and is not
supported by GCC.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77958

Fixes #119069

(cherry picked from commit 359a9131704277bce0f806de31ac887e68a66902)


  Commit: 28e563c23815d94de3de6c3fabc5aa5ad1b554b3
      https://github.com/llvm/llvm-project/commit/28e563c23815d94de3de6c3fabc5aa5ad1b554b3
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M offload/test/CMakeLists.txt

  Log Message:
  -----------
  [offload] [test] Use test compiler ID rather than host (#124408)

Use the test compiler ID to verify whether tests can be run rather than
the host compiler. This makes it possible to run tests (with Clang)
while the library itself was built with GCC.

(cherry picked from commit 689ef5fda0ab07dfc452cb16d3646d53e612cb75)


Compare: https://github.com/llvm/llvm-project/compare/8be3fc0f5c7b...28e563c23815

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