forked from OSchip/llvm-project
[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:
parent
e1173c8794
commit
24a176b107
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue