blob: 0ab585e26f344b5338364af9739ae51e82466918 [file] [log] [blame]
Adam Langley95c29f32014-06-20 12:00:00 -07001BasedOnStyle: Google
2MaxEmptyLinesToKeep: 3
3AllowShortIfStatementsOnASingleLine: false
4AllowShortLoopsOnASingleLine: false
Matt Braithwaite045a0ff2016-04-18 11:30:19 -07005DerivePointerAlignment: false
6PointerAlignment: Right
David Benjamin54858b62020-07-23 17:45:45 -04007# 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.
10IncludeBlocks: Preserve
David Benjamin63fa33d2020-09-29 17:55:18 -040011TypenameMacros: ['LHASH_OF', 'STACK_OF']
David Benjamin5e549fb2020-10-09 16:18:33 -040012StatementMacros:
David Benjamin866cccc2021-08-10 01:35:51 -040013 - "ASN1_SEQUENCE_END"
David Benjamin7a26f972020-11-10 00:56:04 -050014 - "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 Benjamin5e549fb2020-10-09 16:18:33 -040022 - "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 Benjamin92de0b52020-12-08 14:54:24 -050037 - "IMPLEMENT_ASN1_ALLOC_FUNCTIONS"
38 - "IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname"
39 - "IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname"
40 - "IMPLEMENT_ASN1_DUP_FUNCTION"
David Benjamindc112e72022-06-25 21:42:52 -040041 - "IMPLEMENT_ASN1_DUP_FUNCTION_const"
David Benjamin92de0b52020-12-08 14:54:24 -050042 - "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 Benjamin97c60322022-05-26 17:46:41 -040050 - "IMPLEMENT_ASN1_TYPE_ex"
David Benjamin92de0b52020-12-08 14:54:24 -050051 - "IMPLEMENT_STATIC_ASN1_ALLOC_FUNCTIONS"
David Benjamin5e549fb2020-10-09 16:18:33 -040052 - "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 Benjamin97c60322022-05-26 17:46:41 -040070 - "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"