mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-03 08:02:41 +00:00
Hide #pragma clang
behind ifdef guards to fix MSVC "unknown pragma 'clang'" warning. NFC.
This commit is contained in:
parent
4a6edd5c10
commit
b4c4de9cf8
@ -15,7 +15,9 @@
|
||||
using namespace llvm;
|
||||
using namespace llvm::opt;
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
enum ID {
|
||||
OPT_INVALID = 0, // This is not an option ID.
|
||||
|
Loading…
x
Reference in New Issue
Block a user