[libcxx] [test] Silence warning C4324 for MSVC.

This warning "structure was padded due to alignment specifier" says
that the compiler is going to do exactly what you asked it to do.
It's triggered by the tests for over-aligned dynamic memory allocation.

llvm-svn: 314257
This commit is contained in:
Stephan T. Lavavej 2017-09-26 23:08:39 +00:00
parent 2ea995adf0
commit 1d8a407e64
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
// Silence compiler warnings.
#pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored
#pragma warning(disable: 4324) // structure was padded due to alignment specifier
#pragma warning(disable: 4521) // multiple copy constructors specified
#pragma warning(disable: 4702) // unreachable code
#pragma warning(disable: 28251) // Inconsistent annotation for 'new': this instance has no annotations.