aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2018-08-09 22:04:30 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2018-08-09 22:04:30 +0000
commitbaad3f6016b87cbd03578a1df6c6ea69280c4608 (patch)
tree3e56c3fb3ee58e87ca95e731d4ed4ec9eec793c0 /llvm/lib/MC/MCObjectFileInfo.cpp
parent7da7b56830d94447e75479cbac71e5813496da38 (diff)
downloadllvm-baad3f6016b87cbd03578a1df6c6ea69280c4608.zip
llvm-baad3f6016b87cbd03578a1df6c6ea69280c4608.tar.gz
llvm-baad3f6016b87cbd03578a1df6c6ea69280c4608.tar.bz2
[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
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions