1*c33452fbSAndroid Build Coastguard Worker# Copyright (c) 2015, Intel Corporation 2*c33452fbSAndroid Build Coastguard Worker# All rights reserved. 3*c33452fbSAndroid Build Coastguard Worker# 4*c33452fbSAndroid Build Coastguard Worker# Redistribution and use in source and binary forms, with or without modification, 5*c33452fbSAndroid Build Coastguard Worker# are permitted provided that the following conditions are met: 6*c33452fbSAndroid Build Coastguard Worker# 7*c33452fbSAndroid Build Coastguard Worker# 1. Redistributions of source code must retain the above copyright notice, this 8*c33452fbSAndroid Build Coastguard Worker# list of conditions and the following disclaimer. 9*c33452fbSAndroid Build Coastguard Worker# 10*c33452fbSAndroid Build Coastguard Worker# 2. Redistributions in binary form must reproduce the above copyright notice, 11*c33452fbSAndroid Build Coastguard Worker# this list of conditions and the following disclaimer in the documentation and/or 12*c33452fbSAndroid Build Coastguard Worker# other materials provided with the distribution. 13*c33452fbSAndroid Build Coastguard Worker# 14*c33452fbSAndroid Build Coastguard Worker# 3. Neither the name of the copyright holder nor the names of its contributors 15*c33452fbSAndroid Build Coastguard Worker# may be used to endorse or promote products derived from this software without 16*c33452fbSAndroid Build Coastguard Worker# specific prior written permission. 17*c33452fbSAndroid Build Coastguard Worker# 18*c33452fbSAndroid Build Coastguard Worker# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19*c33452fbSAndroid Build Coastguard Worker# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20*c33452fbSAndroid Build Coastguard Worker# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21*c33452fbSAndroid Build Coastguard Worker# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 22*c33452fbSAndroid Build Coastguard Worker# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23*c33452fbSAndroid Build Coastguard Worker# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24*c33452fbSAndroid Build Coastguard Worker# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 25*c33452fbSAndroid Build Coastguard Worker# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26*c33452fbSAndroid Build Coastguard Worker# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27*c33452fbSAndroid Build Coastguard Worker# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28*c33452fbSAndroid Build Coastguard Worker 29*c33452fbSAndroid Build Coastguard Worker--- 30*c33452fbSAndroid Build Coastguard Worker# The extra indent or outdent of access modifiers 31*c33452fbSAndroid Build Coastguard WorkerAccessModifierOffset: -4 32*c33452fbSAndroid Build Coastguard Worker 33*c33452fbSAndroid Build Coastguard Worker# Align parameters on the open bracket 34*c33452fbSAndroid Build Coastguard WorkerAlignAfterOpenBracket: Align 35*c33452fbSAndroid Build Coastguard Worker 36*c33452fbSAndroid Build Coastguard Worker# Disallows contracting simple braced statements to a single line 37*c33452fbSAndroid Build Coastguard WorkerAllowShortBlocksOnASingleLine: 'false' 38*c33452fbSAndroid Build Coastguard Worker 39*c33452fbSAndroid Build Coastguard Worker# Short case labels wont't be contracted to a single line 40*c33452fbSAndroid Build Coastguard WorkerAllowShortCaseLabelsOnASingleLine: 'false' 41*c33452fbSAndroid Build Coastguard Worker 42*c33452fbSAndroid Build Coastguard Worker# Merge all inline functions fitting on a single line 43*c33452fbSAndroid Build Coastguard WorkerAllowShortFunctionsOnASingleLine: 'Inline' 44*c33452fbSAndroid Build Coastguard Worker 45*c33452fbSAndroid Build Coastguard Worker# If (a) return; cannot be put on a single line 46*c33452fbSAndroid Build Coastguard WorkerAllowShortIfStatementsOnASingleLine: 'false' 47*c33452fbSAndroid Build Coastguard Worker 48*c33452fbSAndroid Build Coastguard Worker# While (true) continue; cannot be put on a single line 49*c33452fbSAndroid Build Coastguard WorkerAllowShortLoopsOnASingleLine: 'false' 50*c33452fbSAndroid Build Coastguard Worker 51*c33452fbSAndroid Build Coastguard Worker# Break after the template<...> of a template declaration. 52*c33452fbSAndroid Build Coastguard WorkerAlwaysBreakTemplateDeclarations: 'true' 53*c33452fbSAndroid Build Coastguard Worker 54*c33452fbSAndroid Build Coastguard Worker# Configure each individual brace in BraceWrapping 55*c33452fbSAndroid Build Coastguard WorkerBreakBeforeBraces: 'Custom' 56*c33452fbSAndroid Build Coastguard Worker 57*c33452fbSAndroid Build Coastguard Worker# Control of individual brace wrapping cases 58*c33452fbSAndroid Build Coastguard WorkerBraceWrapping: { 59*c33452fbSAndroid Build Coastguard Worker AfterClass: 'true' 60*c33452fbSAndroid Build Coastguard Worker AfterControlStatement: 'false' 61*c33452fbSAndroid Build Coastguard Worker AfterEnum : 'true' 62*c33452fbSAndroid Build Coastguard Worker AfterFunction : 'true' 63*c33452fbSAndroid Build Coastguard Worker AfterNamespace : 'true' 64*c33452fbSAndroid Build Coastguard Worker AfterStruct : 'true' 65*c33452fbSAndroid Build Coastguard Worker AfterUnion : 'true' 66*c33452fbSAndroid Build Coastguard Worker BeforeCatch : 'false' 67*c33452fbSAndroid Build Coastguard Worker BeforeElse : 'false' 68*c33452fbSAndroid Build Coastguard Worker IndentBraces : 'false' 69*c33452fbSAndroid Build Coastguard Worker} 70*c33452fbSAndroid Build Coastguard Worker 71*c33452fbSAndroid Build Coastguard Worker# The column limit 72*c33452fbSAndroid Build Coastguard WorkerColumnLimit: '100' 73*c33452fbSAndroid Build Coastguard Worker 74*c33452fbSAndroid Build Coastguard Worker# The number of columns to use for indentation. 75*c33452fbSAndroid Build Coastguard WorkerIndentWidth: '4' 76*c33452fbSAndroid Build Coastguard Worker 77*c33452fbSAndroid Build Coastguard Worker# Targeted language 78*c33452fbSAndroid Build Coastguard WorkerLanguage: Cpp 79*c33452fbSAndroid Build Coastguard Worker 80*c33452fbSAndroid Build Coastguard Worker# No indentation for namespaces. 81*c33452fbSAndroid Build Coastguard WorkerNamespaceIndentation: None 82*c33452fbSAndroid Build Coastguard Worker 83*c33452fbSAndroid Build Coastguard Worker# Pointer is aligned to right side 84*c33452fbSAndroid Build Coastguard WorkerPointerAlignment: Right 85*c33452fbSAndroid Build Coastguard Worker 86*c33452fbSAndroid Build Coastguard Worker# High penalty to avoid line break just after return type 87*c33452fbSAndroid Build Coastguard WorkerPenaltyReturnTypeOnItsOwnLine: 10000 88*c33452fbSAndroid Build Coastguard Worker 89*c33452fbSAndroid Build Coastguard Worker# Treat 'catch' BDD macros as control instructions 90*c33452fbSAndroid Build Coastguard WorkerForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, GIVEN, WHEN, AND_WHEN, THEN, AND_THEN, 91*c33452fbSAndroid Build Coastguard Worker SECTION ] 92*c33452fbSAndroid Build Coastguard Worker 93*c33452fbSAndroid Build Coastguard WorkerSortIncludes: 'false' 94*c33452fbSAndroid Build Coastguard Worker... 95