Skip to content

Commit 5fbb5a0

Browse files
authored
auto-sync opcode & operand encoding info generation (#14)
* Added operand and opcode info generation * Wrapped deprecated macro under an intellisense check Basically intellisense fails, causing multiple errors in other files, so when intellisense parses the code it will use the different version of the macro * Fixed a small bug Used double braces to prevent an old bug
1 parent b47de4d commit 5fbb5a0

File tree

2 files changed

+214
-70
lines changed

2 files changed

+214
-70
lines changed

llvm/include/llvm/Support/Compiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
#define LLVM_ATTRIBUTE_USED
140140
#endif
141141

142-
#if defined(__clang__)
142+
#if defined(__clang__) && !defined(__INTELLISENSE__)
143143
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
144144
#else
145145
#define LLVM_DEPRECATED(MSG, FIX) [[deprecated(MSG)]]

0 commit comments

Comments
 (0)