blob: 83c590164abdf0167b9d72ed27d8d8cd52b0fc8b [file] [log] [blame]
# Copied from art/.clang-format with IndentWidth and TabWidth modified to 4 for Cpp.
---
BasedOnStyle: Google
---
Language: Cpp
AlignConsecutiveMacros: AcrossComments
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AttributeMacros: ['__', 'NO_RETURN']
BinPackArguments: false
BinPackParameters: false
BreakConstructorInitializers: BeforeColon
BreakBeforeTernaryOperators: false
ColumnLimit: 100
CommentPragmas: NOLINT:.*
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: true
DerivePointerAlignment: false
FixNamespaceComments: true
PointerAlignment: Left
IndentWidth: 4
TabWidth: 4
---
Language: Java
ColumnLimit: 100
CommentPragmas: (NOLINT|CHECK[^ ]*):.*
ContinuationIndentWidth: 8
IndentWidth: 4
JavaImportGroups:
- android
- androidx
- com.android
- dalvik
- libcore
- com
- junit
- net
- org
- java
- javax