File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 88# error "Python's source code assumes C's unsigned char is an 8-bit type"
99#endif
1010
11+ /*
12+ * Disable keywords and operators that are not recognized by CLion.
13+ *
14+ * This is only a temporary solution until CLion correctly supports them.
15+ */
16+ #ifdef __JETBRAINS_IDE__
17+ /*
18+ * Prevents false positives in CLion's static analysis which incorrectly
19+ * detects _Atomic(size_t) and _Atomic(uintptr_t) as duplicated declarations
20+ * of size_t and uintptr_t respectively.
21+ */
22+ #define _Atomic (x ) x
23+
24+ /* Ignore C99 TLS extension '__thread' keyword. */
25+ #define __thread
26+ #endif
1127
1228// Preprocessor check for a builtin preprocessor function. Always return 0
1329// if __has_builtin() macro is not defined.
You can’t perform that action at this time.
0 commit comments