1*344aa361SAndroid Build Coastguard Worker# Trusty Style 2*344aa361SAndroid Build Coastguard Worker# This is a Google-derived style with 4-space indent and a few quirks for 3*344aa361SAndroid Build Coastguard Worker# systems code. 4*344aa361SAndroid Build Coastguard WorkerBasedOnStyle: Chromium 5*344aa361SAndroid Build Coastguard Worker 6*344aa361SAndroid Build Coastguard Worker# 4-space indent, no tabs. 7*344aa361SAndroid Build Coastguard WorkerIndentWidth: 4 8*344aa361SAndroid Build Coastguard WorkerUseTab: Never 9*344aa361SAndroid Build Coastguard WorkerTabWidth: 4 10*344aa361SAndroid Build Coastguard Worker 11*344aa361SAndroid Build Coastguard Worker# Double indent arguments when none of them are on the first line. 12*344aa361SAndroid Build Coastguard WorkerContinuationIndentWidth: 8 13*344aa361SAndroid Build Coastguard WorkerConstructorInitializerIndentWidth: 8 14*344aa361SAndroid Build Coastguard Worker 15*344aa361SAndroid Build Coastguard Worker# Don't indent public/private/protected. 16*344aa361SAndroid Build Coastguard Worker# It's a little more common to do a half indent, but folks didn't like that. 17*344aa361SAndroid Build Coastguard WorkerAccessModifierOffset: -4 18*344aa361SAndroid Build Coastguard Worker 19*344aa361SAndroid Build Coastguard Worker# Don't indent case labels. 20*344aa361SAndroid Build Coastguard WorkerIndentCaseLabels: false 21*344aa361SAndroid Build Coastguard Worker 22*344aa361SAndroid Build Coastguard Worker# Don't break strings to make it easier to grep for error messages. 23*344aa361SAndroid Build Coastguard Worker# Note: this can result in lines that exceed the column limit. 24*344aa361SAndroid Build Coastguard WorkerBreakStringLiterals: false 25