mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 11:05:45 +01:00
don't indent post-processes directives
This commit is contained in:
@@ -194,7 +194,7 @@ IndentCaseBlocks: false
|
|||||||
IndentGotoLabels: true
|
IndentGotoLabels: true
|
||||||
IndentExternBlock: AfterExternBlock # (AfterExternBlock,NoIndent,Indent)
|
IndentExternBlock: AfterExternBlock # (AfterExternBlock,NoIndent,Indent)
|
||||||
IndentRequiresClause: false
|
IndentRequiresClause: false
|
||||||
IndentPPDirectives: AfterHash # preprocessor indent style (None,AfterHash,BeforeHash)
|
IndentPPDirectives: None # preprocessor indent style (None,AfterHash,BeforeHash)
|
||||||
PPIndentWidth: 1
|
PPIndentWidth: 1
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -14,38 +14,36 @@
|
|||||||
// define the attributes where possible
|
// define the attributes where possible
|
||||||
#if defined(__GNUC__) || defined(__clang__)
|
#if defined(__GNUC__) || defined(__clang__)
|
||||||
|
|
||||||
# if __has_attribute(deprecated)
|
#if __has_attribute(deprecated)
|
||||||
# undef atrb_deprecated
|
#undef atrb_deprecated
|
||||||
# define atrb_deprecated __attribute__((deprecated))
|
#define atrb_deprecated __attribute__((deprecated))
|
||||||
# endif
|
|
||||||
|
|
||||||
# if __has_attribute(unused)
|
|
||||||
# undef atrb_unused
|
|
||||||
# define atrb_unused __attribute__((unused))
|
|
||||||
# endif
|
|
||||||
|
|
||||||
# if __has_attribute(pure)
|
|
||||||
# undef atrb_pure
|
|
||||||
# define atrb_pure __attribute__((pure))
|
|
||||||
# endif
|
|
||||||
|
|
||||||
|
|
||||||
# if __has_attribute(const)
|
|
||||||
# undef atrb_const
|
|
||||||
# define atrb_const __attribute__((const))
|
|
||||||
# endif
|
|
||||||
|
|
||||||
# if __has_attribute(format)
|
|
||||||
# undef atrb_format
|
|
||||||
# define atrb_format(...) __attribute__((format(__VA_ARGS__)))
|
|
||||||
# endif
|
|
||||||
|
|
||||||
# if __has_attribute(nonnull)
|
|
||||||
# undef atrb_nonnull
|
|
||||||
# define atrb_nonnull(...) __attribute__((nonnull(__VA_ARGS__)))
|
|
||||||
# endif
|
|
||||||
#elif defined(_MSC_VER)
|
|
||||||
# undef atrb_depatrb_deprecated
|
|
||||||
# define atrb_deprecated __declspec(deprecated)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __has_attribute(unused)
|
||||||
|
#undef atrb_unused
|
||||||
|
#define atrb_unused __attribute__((unused))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __has_attribute(pure)
|
||||||
|
#undef atrb_pure
|
||||||
|
#define atrb_pure __attribute__((pure))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __has_attribute(const)
|
||||||
|
#undef atrb_const
|
||||||
|
#define atrb_const __attribute__((const))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __has_attribute(format)
|
||||||
|
#undef atrb_format
|
||||||
|
#define atrb_format(...) __attribute__((format(__VA_ARGS__)))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __has_attribute(nonnull)
|
||||||
|
#undef atrb_nonnull
|
||||||
|
#define atrb_nonnull(...) __attribute__((nonnull(__VA_ARGS__)))
|
||||||
|
#endif
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
#undef atrb_depatrb_deprecated
|
||||||
|
#define atrb_deprecated __declspec(deprecated)
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user