forked from OSchip/llvm-project
Fix MSVC "unknown pragma" warning. NFCI.
llvm-svn: 348256
This commit is contained in:
parent
aa6086a64c
commit
6a088b2ce5
|
@ -11,8 +11,10 @@
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
|
||||||
|
#if defined(__clang__)
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wunused-function"
|
#pragma clang diagnostic ignored "-Wunused-function"
|
||||||
|
#endif
|
||||||
|
|
||||||
static DecodeStatus s4_0ImmDecoder(MCInst &MI, unsigned tmp,
|
static DecodeStatus s4_0ImmDecoder(MCInst &MI, unsigned tmp,
|
||||||
uint64_t, const void *Decoder) {
|
uint64_t, const void *Decoder) {
|
||||||
|
@ -69,5 +71,9 @@ static DecodeStatus s4_2ImmDecoder(MCInst &MI, unsigned tmp,
|
||||||
signedDecoder<6>(MI, tmp, Decoder);
|
signedDecoder<6>(MI, tmp, Decoder);
|
||||||
return MCDisassembler::Success;
|
return MCDisassembler::Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__clang__)
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
Loading…
Reference in New Issue