Adam Langley | 95c29f3 | 2014-06-20 12:00:00 -0700 | [diff] [blame] | 1 | BasedOnStyle: Google |
| 2 | MaxEmptyLinesToKeep: 3 |
| 3 | AllowShortIfStatementsOnASingleLine: false |
| 4 | AllowShortLoopsOnASingleLine: false |
Matt Braithwaite | 045a0ff | 2016-04-18 11:30:19 -0700 | [diff] [blame] | 5 | DerivePointerAlignment: false |
| 6 | PointerAlignment: Right |
David Benjamin | 54858b6 | 2020-07-23 17:45:45 -0400 | [diff] [blame] | 7 | # TODO(davidben): The default for Google style is now Regroup, but the default |
| 8 | # IncludeCategories does not recognize <openssl/header.h>. We should |
| 9 | # reconfigure IncludeCategories to match. For now, keep it at Preserve. |
| 10 | IncludeBlocks: Preserve |
David Benjamin | 63fa33d | 2020-09-29 17:55:18 -0400 | [diff] [blame] | 11 | TypenameMacros: ['LHASH_OF', 'STACK_OF'] |
David Benjamin | 5e549fb | 2020-10-09 16:18:33 -0400 | [diff] [blame] | 12 | StatementMacros: |
David Benjamin | 866cccc | 2021-08-10 01:35:51 -0400 | [diff] [blame] | 13 | - "ASN1_SEQUENCE_END" |
David Benjamin | 7a26f97 | 2020-11-10 00:56:04 -0500 | [diff] [blame] | 14 | - "DECLARE_ASN1_ALLOC_FUNCTIONS" |
| 15 | - "DECLARE_ASN1_ALLOC_FUNCTIONS_name" |
| 16 | - "DECLARE_ASN1_ENCODE_FUNCTIONS" |
| 17 | - "DECLARE_ASN1_ENCODE_FUNCTIONS_const" |
| 18 | - "DECLARE_ASN1_FUNCTIONS" |
| 19 | - "DECLARE_ASN1_FUNCTIONS_const" |
| 20 | - "DECLARE_ASN1_FUNCTIONS_fname" |
| 21 | - "DECLARE_ASN1_FUNCTIONS_name" |
David Benjamin | 5e549fb | 2020-10-09 16:18:33 -0400 | [diff] [blame] | 22 | - "DECLARE_PEM_read" |
| 23 | - "DECLARE_PEM_read_bio" |
| 24 | - "DECLARE_PEM_read_fp" |
| 25 | - "DECLARE_PEM_rw" |
| 26 | - "DECLARE_PEM_rw_cb" |
| 27 | - "DECLARE_PEM_rw_const" |
| 28 | - "DECLARE_PEM_write" |
| 29 | - "DECLARE_PEM_write_bio" |
| 30 | - "DECLARE_PEM_write_bio_const" |
| 31 | - "DECLARE_PEM_write_cb" |
| 32 | - "DECLARE_PEM_write_cb_bio" |
| 33 | - "DECLARE_PEM_write_cb_fp" |
| 34 | - "DECLARE_PEM_write_const" |
| 35 | - "DECLARE_PEM_write_fp" |
| 36 | - "DECLARE_PEM_write_fp_const" |
David Benjamin | 92de0b5 | 2020-12-08 14:54:24 -0500 | [diff] [blame] | 37 | - "IMPLEMENT_ASN1_ALLOC_FUNCTIONS" |
| 38 | - "IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname" |
| 39 | - "IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname" |
| 40 | - "IMPLEMENT_ASN1_DUP_FUNCTION" |
David Benjamin | dc112e7 | 2022-06-25 21:42:52 -0400 | [diff] [blame] | 41 | - "IMPLEMENT_ASN1_DUP_FUNCTION_const" |
David Benjamin | 92de0b5 | 2020-12-08 14:54:24 -0500 | [diff] [blame] | 42 | - "IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname" |
| 43 | - "IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname" |
| 44 | - "IMPLEMENT_ASN1_FUNCTIONS" |
| 45 | - "IMPLEMENT_ASN1_FUNCTIONS_const" |
| 46 | - "IMPLEMENT_ASN1_FUNCTIONS_const_fname" |
| 47 | - "IMPLEMENT_ASN1_FUNCTIONS_ENCODE_name" |
| 48 | - "IMPLEMENT_ASN1_FUNCTIONS_fname" |
| 49 | - "IMPLEMENT_ASN1_FUNCTIONS_name" |
David Benjamin | 97c6032 | 2022-05-26 17:46:41 -0400 | [diff] [blame] | 50 | - "IMPLEMENT_ASN1_TYPE_ex" |
David Benjamin | 92de0b5 | 2020-12-08 14:54:24 -0500 | [diff] [blame] | 51 | - "IMPLEMENT_STATIC_ASN1_ALLOC_FUNCTIONS" |
David Benjamin | 5e549fb | 2020-10-09 16:18:33 -0400 | [diff] [blame] | 52 | - "IMPLEMENT_PEM_read" |
| 53 | - "IMPLEMENT_PEM_read_bio" |
| 54 | - "IMPLEMENT_PEM_read_fp" |
| 55 | - "IMPLEMENT_PEM_rw" |
| 56 | - "IMPLEMENT_PEM_rw_cb" |
| 57 | - "IMPLEMENT_PEM_rw_const" |
| 58 | - "IMPLEMENT_PEM_write" |
| 59 | - "IMPLEMENT_PEM_write_bio" |
| 60 | - "IMPLEMENT_PEM_write_bio_const" |
| 61 | - "IMPLEMENT_PEM_write_cb" |
| 62 | - "IMPLEMENT_PEM_write_cb_bio" |
| 63 | - "IMPLEMENT_PEM_write_cb_bio_const" |
| 64 | - "IMPLEMENT_PEM_write_cb_const" |
| 65 | - "IMPLEMENT_PEM_write_cb_fp" |
| 66 | - "IMPLEMENT_PEM_write_cb_fp_const" |
| 67 | - "IMPLEMENT_PEM_write_const" |
| 68 | - "IMPLEMENT_PEM_write_fp" |
| 69 | - "IMPLEMENT_PEM_write_fp_const" |
David Benjamin | 97c6032 | 2022-05-26 17:46:41 -0400 | [diff] [blame] | 70 | - "ASN1_ADB_END" |
| 71 | - "ASN1_CHOICE_END" |
| 72 | - "ASN1_ITEM_TEMPLATE_END" |
| 73 | - "ASN1_SEQUENCE_END" |
| 74 | - "ASN1_SEQUENCE_END_cb" |
| 75 | - "ASN1_SEQUENCE_END_enc" |
| 76 | - "ASN1_SEQUENCE_END_ref" |
| 77 | # This isn't quite right, but it causes clang-format to do a slightly better |
| 78 | # job with this macro. |
| 79 | - "ASN1_EX_TEMPLATE_TYPE" |