[all-commits] [llvm/llvm-project] 46262c: [OpenMP] Remove uses of ATOMIC_VAR_INIT

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Feb 24 14:48:08 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46262cab24312c71717ca70a9d0700481aa59152
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M openmp/runtime/src/kmp_global.cpp
    M openmp/runtime/src/kmp_lock.h
    M openmp/runtime/src/kmp_taskdeps.cpp

  Log Message:
  [OpenMP] Remove uses of ATOMIC_VAR_INIT

ATOMIC_VAR_INIT has a trivial definition
`#define ATOMIC_VAR_INIT(value) (value)`,
is deprecated in C17/C++20, and will be removed in newer standards in
newer GCC/Clang (e.g. https://reviews.llvm.org/D144196).

More information about the All-commits mailing list