[Openmp-commits] [PATCH] D34759: OpenMP RTL cleanup: eliminated warnings with -Wcast-qual
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jun 28 09:01:31 PDT 2017
AndreyChurbanov created this revision.
- Main change is the usage of const_cast and reinterpret_cast instead of C-style type casts.
- A lot of minor formatting changes done by clang-format (used version 3.8.1).
- Changed type of several counters from unsigned to signed, as this is logical and also reduces the amount of needed casts.
- Changed type of 32- and 64-bit bitwise intrinsics parameters from signed to unsigned.
Though the patch is big I tried to not change any functionality, just did the cleanup.
Any comments are welcome.
Repository:
rL LLVM
https://reviews.llvm.org/D34759
Files:
runtime/src/kmp.h
runtime/src/kmp_affinity.cpp
runtime/src/kmp_affinity.h
runtime/src/kmp_alloc.cpp
runtime/src/kmp_barrier.cpp
runtime/src/kmp_csupport.cpp
runtime/src/kmp_dispatch.cpp
runtime/src/kmp_environment.cpp
runtime/src/kmp_error.cpp
runtime/src/kmp_i18n.cpp
runtime/src/kmp_itt.inl
runtime/src/kmp_lock.cpp
runtime/src/kmp_os.h
runtime/src/kmp_runtime.cpp
runtime/src/kmp_settings.cpp
runtime/src/kmp_str.cpp
runtime/src/kmp_taskdeps.cpp
runtime/src/kmp_tasking.cpp
runtime/src/kmp_taskq.cpp
runtime/src/kmp_utility.cpp
runtime/src/kmp_wait_release.h
runtime/src/z_Linux_util.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34759.104433.patch
Type: text/x-patch
Size: 94319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170628/aff736e3/attachment-0001.bin>
More information about the Openmp-commits
mailing list