Make use of '#pragma clang diagnostic' only with __clang__.
Otherwise one gets the following warning with GCC: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas] Differential Revision: https://reviews.llvm.org/D148695
Loading
Please sign in to comment