llvm-project/openmp/runtime/cmake
Jonas Hahnfeld 673e5476a8 [OpenMP] Change initialization of __kmp_global
There's no need to initialize variables with static storage duration
because they're implicitly initialized to zero. See
https://en.cppreference.com/w/c/language/initialization#Implicit_initialization

I think that's already relied upon because the supplied 0 only sets
'kmp_time_global_t g_time;' in 'struct kmp_base_global'. The other fields
are not set in the code, but implicitly initialized by the compiler.

Differential Revision: https://reviews.llvm.org/D66292

llvm-svn: 370943
2019-09-04 17:47:37 +00:00
..
LibompCheckFortranFlag.cmake Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
LibompCheckLinkerFlag.cmake Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
LibompDefinitions.cmake [OpenMP] Remove OMP spec versioning 2019-07-12 21:45:36 +00:00
LibompExports.cmake [OpenMP] Remove OMP spec versioning 2019-07-12 21:45:36 +00:00
LibompGetArchitecture.cmake [OpenMP] RISCV64 port 2019-07-25 14:36:20 +00:00
LibompHandleFlags.cmake [OpenMP] Change initialization of __kmp_global 2019-09-04 17:47:37 +00:00
LibompMicroTests.cmake [OpenMP] RISCV64 port 2019-07-25 14:36:20 +00:00
LibompUtils.cmake [OpenMP] RISCV64 port 2019-07-25 14:36:20 +00:00
config-ix.cmake [OpenMP] Change initialization of __kmp_global 2019-09-04 17:47:37 +00:00