[libc++] Fix "size_t" constants that should be "bool" or "int", and add tests
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Thu, 19 Jan 2023 22:10:09 +0000 (17:10 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Mon, 27 Feb 2023 21:53:04 +0000 (16:53 -0500)
commit049a3fe10f644c259a33f185a0a7711757252188
tree1850651a0cdb963d9de0392d0b269a1eb46718bf
parentc08867e34aca4a900a84d9f32f4e0741a9e9589b
[libc++] Fix "size_t" constants that should be "bool" or "int", and add tests

`is_placeholder`, despite having an "is_" name, actually returns an int:
1 for `_1`, 2 for `_2`, 3 for `_3`, and so on. But it should still be int,
not size_t.
libcxx/include/__functional/bind.h
libcxx/include/__memory/uses_allocator.h
libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp
libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isplace/is_placeholder.pass.cpp
libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp