.clang-format
author Jed Davis <jld@mozilla.com>
Wed, 21 Nov 2018 03:11:37 +0000
changeset 447595 a615ca514a068ad4f4340b167358dcdeffbb26f1
parent 447331 2d8d64aff05a9af6af00a99c7922b86ad9d1bb55
child 448534 1da65c8d52d341780a82fbfacc03a6e7c27d421e
permissions -rw-r--r--
Bug 1508889 - Remove ipc/chromium from the lists of third-party code. r=Ehsan The ipc/chromium tree has been forked from its former upstream and heavily modified, so it's safe to reformat and lint. However, ipc/chromium/src/third_party (a copy of libevent) is following its upstream, so that should remain exempt. Differential Revision: https://phabricator.services.mozilla.com/D12498

BasedOnStyle: Google

# Prevent the loss of indentation with these macros
MacroBlockBegin: "^\
JS_BEGIN_MACRO|\
NS_INTERFACE_MAP_BEGIN|\
NS_INTERFACE_TABLE_HEAD|\
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION|\
NS_IMPL_CYCLE_COLLECTION_.*_BEGIN|\
NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED|\
NS_INTERFACE_TABLE_BEGIN|\
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED|\
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED$"
MacroBlockEnd: "^\
JS_END_MACRO|\
NS_INTERFACE_MAP_END|\
NS_IMPL_CYCLE_COLLECTION_.*_END|\
NS_INTERFACE_TABLE_END|\
NS_INTERFACE_MAP_END_INHERITING|\
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END_INHERITED|\
NS_IMPL_CYCLE_COLLECTION_UNLINK_END_INHERITED$"

SortIncludes: false