Bug 1654678 Part 2 - Make CUPSPrinter own its CUPS dest data r=nordzilla
[gecko.git] / .clang-format
blob16ed32daf284ca523f08b12ce80806091b9584b1
1 BasedOnStyle: Google
3 # Prevent the loss of indentation with these macros
4 MacroBlockBegin: "^\
5 JS_BEGIN_MACRO|\
6 NS_INTERFACE_MAP_BEGIN|\
7 NS_INTERFACE_TABLE_HEAD|\
8 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION|\
9 NS_IMPL_CYCLE_COLLECTION_.*_BEGIN|\
10 NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED|\
11 NS_INTERFACE_TABLE_BEGIN|\
12 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED|\
13 NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED|\
14 NS_QUERYFRAME_HEAD$"
15 MacroBlockEnd: "^\
16 JS_END_MACRO|\
17 NS_INTERFACE_MAP_END|\
18 NS_IMPL_CYCLE_COLLECTION_.*_END|\
19 NS_INTERFACE_TABLE_END|\
20 NS_INTERFACE_TABLE_TAIL.*|\
21 NS_INTERFACE_MAP_END_.*|\
22 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END_INHERITED|\
23 NS_IMPL_CYCLE_COLLECTION_UNLINK_END_INHERITED|\
24 NS_QUERYFRAME_TAIL.*$"
26 SortIncludes: false
27 IndentPPDirectives: AfterHash
28 StatementMacros: [MARKUPMAP, ASSERT_TRUE, ASSERT_FALSE, TEST, CHECK]
30 # The Google coding style states:
31 # You should do this consistently within a single file, so, when modifying an
32 # existing file, use the style in that file.
33 # Let's be more prescriptive and default to the one used in the Mozilla
34 # coding style
35 DerivePointerAlignment: false
36 PointerAlignment: Left