llvm-project/openmp/runtime/cmake
Jonathan Peyton baad3f6016 [OpenMP] Cleanup code
This patch cleans up unused functions, variables, sign compare issues, and
addresses some -Warning flags which are now enabled including -Wcast-qual.
Not all the warning flags in LibompHandleFlags.cmake are enabled, but some
are with this patch.

Some __kmp_gtid_from_* macros in kmp.h are switched to static inline functions
which allows us to remove the awkward definition of KMP_DEBUG_ASSERT() and
KMP_ASSERT() macros which used the comma operator. This had to be done for the
innumerable -Wunused-value warnings related to KMP_DEBUG_ASSERT()

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

llvm-svn: 339393
2018-08-09 22:04:30 +00:00
..
LibompCheckFortranFlag.cmake
LibompCheckLinkerFlag.cmake
LibompDefinitions.cmake Revert r273898's UNICODE quick fix in favor of CMake's remove_definitions() 2016-06-28 19:25:13 +00:00
LibompExports.cmake [OMPT] Purge OMPT_BLAME and OMPT_TRACE 2017-11-10 15:17:57 +00:00
LibompGetArchitecture.cmake Support of mips & mips64 for openmprtl 2016-12-08 09:22:24 +00:00
LibompHandleFlags.cmake [OpenMP] Cleanup code 2018-08-09 22:04:30 +00:00
LibompMicroTests.cmake Support of mips & mips64 for openmprtl 2016-12-08 09:22:24 +00:00
LibompUtils.cmake Change source files from .c to .cpp 2016-12-14 22:39:11 +00:00
config-ix.cmake [OpenMP] Cleanup code 2018-08-09 22:04:30 +00:00