| # Please keep in sync with .clang-format-java-2 where applicable. |
| --- |
| 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 |
| TabWidth: 2 |
| |
| --- |
| |
| Language: Java |
| |
| ColumnLimit: 100 |
| CommentPragmas: (NOLINT|CHECK[^ ]*):.* |
| ContinuationIndentWidth: 8 |
| IndentWidth: 4 |
| JavaImportGroups: |
| - android |
| - androidx |
| - com.android |
| - dalvik |
| - libcore |
| - com |
| - junit |
| - net |
| - org |
| - java |
| - javax |