mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	clang-format: set IndentPPDirectives to AfterHash
This commit is contained in:
		| @@ -4,6 +4,7 @@ BasedOnStyle: Google | |||||||
| Standard: Cpp03 | Standard: Cpp03 | ||||||
| AllowShortFunctionsOnASingleLine: Empty | AllowShortFunctionsOnASingleLine: Empty | ||||||
| IncludeBlocks: Preserve | IncludeBlocks: Preserve | ||||||
|  | IndentPPDirectives: AfterHash | ||||||
|  |  | ||||||
| # Always break after if to get accurate coverage | # Always break after if to get accurate coverage | ||||||
| AllowShortIfStatementsOnASingleLine: false | AllowShortIfStatementsOnASingleLine: false | ||||||
|   | |||||||
| @@ -213,7 +213,8 @@ | |||||||
|  |  | ||||||
| #ifndef ARDUINOJSON_LITTLE_ENDIAN | #ifndef ARDUINOJSON_LITTLE_ENDIAN | ||||||
| #  if defined(_MSC_VER) ||                           \ | #  if defined(_MSC_VER) ||                           \ | ||||||
|     (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || \ |       (defined(__BYTE_ORDER__) &&                    \ | ||||||
|  |        __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || \ | ||||||
|       defined(__LITTLE_ENDIAN__) || defined(__i386) || defined(__x86_64) |       defined(__LITTLE_ENDIAN__) || defined(__i386) || defined(__x86_64) | ||||||
| #    define ARDUINOJSON_LITTLE_ENDIAN 1 | #    define ARDUINOJSON_LITTLE_ENDIAN 1 | ||||||
| #  else | #  else | ||||||
|   | |||||||
| @@ -16,9 +16,9 @@ | |||||||
|                             ARDUINOJSON_VERSION_MINOR,                        \ |                             ARDUINOJSON_VERSION_MINOR,                        \ | ||||||
|                             ARDUINOJSON_VERSION_REVISION),                    \ |                             ARDUINOJSON_VERSION_REVISION),                    \ | ||||||
|         _,                                                                    \ |         _,                                                                    \ | ||||||
|       ARDUINOJSON_HEX_DIGIT(ARDUINOJSON_ENABLE_PROGMEM,                        \ |         ARDUINOJSON_HEX_DIGIT(                                                \ | ||||||
|                             ARDUINOJSON_USE_LONG_LONG, ARDUINOJSON_USE_DOUBLE, \ |             ARDUINOJSON_ENABLE_PROGMEM, ARDUINOJSON_USE_LONG_LONG,            \ | ||||||
|                             ARDUINOJSON_ENABLE_STRING_DEDUPLICATION),          \ |             ARDUINOJSON_USE_DOUBLE, ARDUINOJSON_ENABLE_STRING_DEDUPLICATION), \ | ||||||
|         ARDUINOJSON_HEX_DIGIT(                                                \ |         ARDUINOJSON_HEX_DIGIT(                                                \ | ||||||
|             ARDUINOJSON_ENABLE_NAN, ARDUINOJSON_ENABLE_INFINITY,              \ |             ARDUINOJSON_ENABLE_NAN, ARDUINOJSON_ENABLE_INFINITY,              \ | ||||||
|             ARDUINOJSON_ENABLE_COMMENTS, ARDUINOJSON_DECODE_UNICODE)) |             ARDUINOJSON_ENABLE_COMMENTS, ARDUINOJSON_DECODE_UNICODE)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user