mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 12:43:52 +00:00
chore(deps): pre-commit.ci autoupdate (#1072)
<!--pre-commit.ci start--> updates: - [github.com/pre-commit/mirrors-clang-format: v18.1.8 → v19.1.0](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.8...v19.1.0) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
8c6a73d343
commit
924e3e84fc
@ -26,7 +26,7 @@ repos:
|
|||||||
- id: debug-statements
|
- id: debug-statements
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
rev: v18.1.8
|
rev: v19.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: clang-format
|
- id: clang-format
|
||||||
types_or: [c++, c, cuda]
|
types_or: [c++, c, cuda]
|
||||||
|
@ -53,15 +53,15 @@
|
|||||||
|
|
||||||
/** detection of rtti */
|
/** detection of rtti */
|
||||||
#ifndef CLI11_USE_STATIC_RTTI
|
#ifndef CLI11_USE_STATIC_RTTI
|
||||||
#if(defined(_HAS_STATIC_RTTI) && _HAS_STATIC_RTTI)
|
#if (defined(_HAS_STATIC_RTTI) && _HAS_STATIC_RTTI)
|
||||||
#define CLI11_USE_STATIC_RTTI 1
|
#define CLI11_USE_STATIC_RTTI 1
|
||||||
#elif defined(__cpp_rtti)
|
#elif defined(__cpp_rtti)
|
||||||
#if(defined(_CPPRTTI) && _CPPRTTI == 0)
|
#if (defined(_CPPRTTI) && _CPPRTTI == 0)
|
||||||
#define CLI11_USE_STATIC_RTTI 1
|
#define CLI11_USE_STATIC_RTTI 1
|
||||||
#else
|
#else
|
||||||
#define CLI11_USE_STATIC_RTTI 0
|
#define CLI11_USE_STATIC_RTTI 0
|
||||||
#endif
|
#endif
|
||||||
#elif(defined(__GCC_RTTI) && __GXX_RTTI)
|
#elif (defined(__GCC_RTTI) && __GXX_RTTI)
|
||||||
#define CLI11_USE_STATIC_RTTI 0
|
#define CLI11_USE_STATIC_RTTI 0
|
||||||
#else
|
#else
|
||||||
#define CLI11_USE_STATIC_RTTI 1
|
#define CLI11_USE_STATIC_RTTI 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user