Suppress some warnings in the tests that snuck in. That 'tmpnam' is deprecated doesn't change the fact that we have to test it.

llvm-svn: 247704
This commit is contained in:
Marshall Clow 2015-09-15 17:12:49 +00:00
parent 32764b5917
commit 20ade932fb
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat-zero-length"
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
int main()
{

View File

@ -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() {
{