The variables in kmp_lock.cpp are really arrays of function pointers
that return void or int, not pointers to functions that return void*
or int*. The other changes are only cosmetic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
openmp/runtime/src/kmp_runtime.cpp | ||
---|---|---|
5708 ↗ | (On Diff #213868) | I think these extra parentheses " (*)" can also be changed to "*". |
Comment Actions
LGTM with @AndreyChurbanov comment addressed.
openmp/runtime/cmake/config-ix.cmake | ||
---|---|---|
55 ↗ | (On Diff #213868) | Good (that we enable the warning), bad that there are so many disabled... |
openmp/runtime/src/kmp_runtime.cpp | ||
---|---|---|
5708 ↗ | (On Diff #213868) | I've opted to just remove the cast altogether. (I'm not really sure why we need a pointer to kmp_team_t *here, but I guess there have been $reasons...) |