Suppress some warnings in the tests that snuck in. That 'tmpnam' is deprecated doesn't change the fact that we have to test it.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@247704 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2d317f1a2
commit
41a04d69c4
@ -80,6 +80,7 @@
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wformat-zero-length"
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ void test_comparisons()
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma diagnostic ignored "-Wnull-conversion"
|
||||
#pragma clang diagnostic ignored "-Wnull-conversion"
|
||||
#endif
|
||||
void test_nullptr_conversions() {
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user