aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-02-12 11:38:25 +0200
committerMartin Storsjö <martin@martin.st>2021-02-12 21:55:32 +0200
commit496ca4127e2733d8421af70d360cd5df779fe592 (patch)
treee6d8caa0843017d53e4d1a6aead084ed8d0792fe /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent16428a8d91a904c841086a971a8f26c3d8cf1307 (diff)
downloadllvm-496ca4127e2733d8421af70d360cd5df779fe592.zip
llvm-496ca4127e2733d8421af70d360cd5df779fe592.tar.gz
llvm-496ca4127e2733d8421af70d360cd5df779fe592.tar.bz2
[OpenMP] Silence more warning flags
This silences warnings like these, in mingw builds with clang: runtime/src/kmp_atomic.h:1021:13: warning: '__kmpc_atomic_cmplx8_rd' has C-linkage specified, but returns user-defined type 'kmp_cmplx64' (aka '__kmp_cmplx64_t') which is incompatible with C [-Wreturn-type-c-linkage] runtime/src/z_Windows_NT_util.cpp:479:17: warning: cast from 'volatile void *' to 'type-parameter-0-0 *' drops volatile qualifier [-Wcast-qual] flag = (C *)th->th.th_sleep_loc; runtime/src/z_Windows_NT_util.cpp:1321:14: warning: cast to 'void *' from smaller integer type 'DWORD' (aka 'unsigned long') [-Wint-to-void-pointer-cast] } else if ((void *)exit_val != (void *)th) { Differential Revision: https://reviews.llvm.org/D96585
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions