[libcxx] Apply pragma for silencing warning when building with clang-cl too

This silences warnings about unused functions (in an anonymous
namespace).

Differential Revision: https://reviews.llvm.org/D98036
This commit is contained in:
Martin Storsjö 2021-03-05 14:47:31 +02:00
parent e1173c8794
commit 24a176b107
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
#endif
#endif
#if defined(__GNUC__)
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
#endif