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