• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Variant of .clang-format but with 2 space indent for Java files, for use in
2# subdirectories with that style.
3# Please keep in sync with .clang-format where applicable.
4---
5BasedOnStyle: Google
6---
7
8Language: Cpp
9
10AlignConsecutiveMacros: AcrossComments
11AllowShortBlocksOnASingleLine: Empty
12AllowShortCaseLabelsOnASingleLine: false
13AllowShortIfStatementsOnASingleLine: Never
14AllowShortLoopsOnASingleLine: false
15AttributeMacros: ['__', 'NO_RETURN']
16BinPackArguments: false
17BinPackParameters: false
18BreakConstructorInitializers: BeforeColon
19BreakBeforeTernaryOperators: false
20ColumnLimit: 100
21CommentPragmas: NOLINT:.*
22ConstructorInitializerAllOnOneLineOrOnePerLine: true
23Cpp11BracedListStyle: true
24DerivePointerAlignment: false
25FixNamespaceComments: true
26PointerAlignment: Left
27TabWidth: 2
28
29---
30
31Language: Java
32
33ColumnLimit: 100
34CommentPragmas: (NOLINT|CHECK[^ ]*):.*
35ContinuationIndentWidth: 4
36IndentWidth: 2
37JavaImportGroups:
38- android
39- androidx
40- com.android
41- dalvik
42- libcore
43- com
44- junit
45- net
46- org
47- java
48- javax
49