mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Merge pull request #10675 from akallabeth/clang-tidy-customize
Clang tidy customize
This commit is contained in:
@@ -39,6 +39,7 @@ Checks: >
|
||||
-cppcoreguidelines-avoid-magic-numbers,
|
||||
-cppcoreguidelines-avoid-non-const-global-variables,
|
||||
-cppcoreguidelines-macro-to-enum,
|
||||
-cppcoreguidelines-macro-usage,
|
||||
-cppcoreguidelines-pro-type-vararg,
|
||||
-cppcoreguidelines-pro-type-reinterpret-cast,
|
||||
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_RESERVED_ID_MACRO \
|
||||
_Pragma("clang diagnostic ignored \"-Wreserved-id-macro\"")
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_UNUSED_MACRO \
|
||||
_Pragma("clang diagnostic ignored \"-Wunused-macro\"")
|
||||
_Pragma("clang diagnostic ignored \"-Wunused-macros\"")
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_RESERVED_IDENTIFIER \
|
||||
_Pragma("clang diagnostic ignored \"-Wreserved-identifier\"")
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_ATOMIC_SEQ_CST \
|
||||
@@ -65,8 +65,7 @@
|
||||
_Pragma("GCC diagnostic ignored \"-Wstrict-prototypes\"")
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_RESERVED_ID_MACRO /* not supported _Pragma("GCC diagnostic \
|
||||
ignored \"-Wreserved-id-macro\"") */
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_UNUSED_MACRO /* not supported _Pragma("GCC diagnostic ignored \
|
||||
\"-Wunused-macro\"") */
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_UNUSED_MACRO _Pragma("GCC diagnostic ignored \"-Wunused-macros\"")
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_RESERVED_IDENTIFIER
|
||||
/* not supported _Pragma("GCC diagnostic ignored \"-Wreserved-identifier\"") */
|
||||
#define WINPR_PRAGMA_DIAG_IGNORED_ATOMIC_SEQ_CST /* not supported _Pragma("GCC diagnostic \
|
||||
|
||||
Reference in New Issue
Block a user