[all-commits] [llvm/llvm-project] 29f1a7: [OpenMP] Remove internal linkage from __kmp_wait t...

Aditya Medhane via All-commits all-commits at lists.llvm.org
Tue Jul 7 08:41:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29f1a71a8d3f12232ccd53bca2442e35396a11a3
      https://github.com/llvm/llvm-project/commit/29f1a71a8d3f12232ccd53bca2442e35396a11a3
  Author: Aditya Medhane <sherlockedaditya at gmail.com>
  Date:   2026-07-07 (Tue, 07 Jul 2026)

  Changed paths:
    M openmp/runtime/src/kmp_dispatch.h

  Log Message:
  -----------
  [OpenMP] Remove internal linkage from __kmp_wait template (NFC) (#207983)

__kmp_wait in kmp_dispatch.h is a static function template in a header,
so any TU that includes it without instantiating it trips
-Wunused-template (kmp_runtime.cpp, kmp_affinity.cpp, kmp_global.cpp,
kmp_settings.cpp). It is used by kmp_dispatch.cpp and
kmp_dispatch_hier.h. Drop static, which the comment above it already
suggests.

Part of #202945



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