[Clang] Fix the incorrect return type of atomic_is_lock_free
authorKamlesh Kumar <kamleshbhalui@gmail.com>
Mon, 11 May 2020 14:47:42 +0000 (10:47 -0400)
committerLouis Dionne <ldionne@apple.com>
Mon, 11 May 2020 14:48:35 +0000 (10:48 -0400)
commit9aee35bcc90faa9db3ea0111c0a80ebee7446cac
tree6eb586c495f1b521cf97863cbe89a671c17cf80e
parent8dbbb223834d1715bc9869aa409a4b0f52816da3
[Clang] Fix the incorrect return type of atomic_is_lock_free

Fixing the return type of atomic_is_lock_free as per
https://en.cppreference.com/w/c/atomic/atomic_is_lock_free

Differential Revision: https://reviews.llvm.org/D79504
clang/include/clang/Basic/Builtins.def
clang/test/CodeGen/atomic-ops.c
clang/test/CodeGen/big-atomic-ops.c