aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Jeong <ericjeong@google.com>2020-02-11 15:49:56 -0800
committerEric Jeong <ericjeong@google.com>2020-02-11 15:49:56 -0800
commit8ec89bfe20d8d3b10c04f0a45f6b3d03f047a384 (patch)
tree61111d0cb4a6ed7eff7a479ac50f9be7993944c9
parent9c8db5385f7a37f1acde70a4e544806f66ac6fa7 (diff)
downloadCar-8ec89bfe20d8d3b10c04f0a45f6b3d03f047a384.tar.gz
Use 2 spaces between code and comment
- We need to make clang format and CPPLint consistent. - Currently, clang-format uses 1 space while CPPLint uses 2 spaces. - According to code search, more repos use 2 spaces. - So, this CL has clang format use 2 spaces. Bug: 148969477 Test: Do git upload and make sure that there is no error about whitespace/comments. Change-Id: I9cc8b87097a492468f8c6d99aa5bb54609a5ba28
-rw-r--r--.clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 01aae6c21b..82e72e732a 100644
--- a/.clang-format
+++ b/.clang-format
@@ -16,7 +16,7 @@ IndentWidth: 4
TabWidth: 4
ContinuationIndentWidth: 8
ConstructorInitializerIndentWidth: 6
-SpacesBeforeTrailingComments: 1
+SpacesBeforeTrailingComments: 2
IncludeBlocks: Preserve
DerivePointerAlignment: false
PointerAlignment: Left