diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2019-09-04 17:47:37 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2019-09-04 17:47:37 +0000 |
commit | 673e5476a817e93440e4b269df8bcb0d4b8aae14 (patch) | |
tree | 6c33c0ca2d2210f55b1ffb4c5430fbba59fd433d /lldb/packages/Python/lldbsuite/test/python_api/sbdata/main.cpp | |
parent | 3a49ca331fa2ac8d3d7bc231ea2b671588ad476a (diff) | |
download | bcm5719-llvm-673e5476a817e93440e4b269df8bcb0d4b8aae14.tar.gz bcm5719-llvm-673e5476a817e93440e4b269df8bcb0d4b8aae14.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbdata/main.cpp')
0 files changed, 0 insertions, 0 deletions