From 41a04d69c4a087bdbab75c44b668a608160fffe7 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 15 Sep 2015 17:12:49 +0000 Subject: [PATCH] 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 --- test/std/input.output/file.streams/c.files/cstdio.pass.cpp | 1 + test/std/language.support/support.types/nullptr_t.pass.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/std/input.output/file.streams/c.files/cstdio.pass.cpp b/test/std/input.output/file.streams/c.files/cstdio.pass.cpp index ec4ad8a3b..a06f0443d 100644 --- a/test/std/input.output/file.streams/c.files/cstdio.pass.cpp +++ b/test/std/input.output/file.streams/c.files/cstdio.pass.cpp @@ -80,6 +80,7 @@ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wformat-zero-length" +#pragma clang diagnostic ignored "-Wdeprecated-declarations" int main() { diff --git a/test/std/language.support/support.types/nullptr_t.pass.cpp b/test/std/language.support/support.types/nullptr_t.pass.cpp index 99bbd3e91..1cc2aa620 100644 --- a/test/std/language.support/support.types/nullptr_t.pass.cpp +++ b/test/std/language.support/support.types/nullptr_t.pass.cpp @@ -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() { {