]> granicus.if.org Git - clang/commit
clang-format: Let Chromium use the Google default for AlignTrailingComments.
authorNico Weber <nicolasweber@gmx.de>
Wed, 7 Jan 2015 18:41:10 +0000 (18:41 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 7 Jan 2015 18:41:10 +0000 (18:41 +0000)
commitf1a1f7ecdf5a43bde4775bff8c1cc1f8727294cb
tree26fe751b09f42e64ae1bd0cc59dcb80eb514c1c7
parent95539d06ab39a678f982188919a79cbc62117db8
clang-format: Let Chromium use the Google default for AlignTrailingComments.

r225141 changed the defaults of AllowShortIfStatementsOnASingleLine and
AlignTrailingComments for Google style and added explicit overrides for
Chromium style to undo these changes.  For AllowShortIfStatementsOnASingleLine
that's good as the Android style guide (which Chromium uses for Java) explicitly
permits single-line ifs. But it's silent on trailing comments, to it makes
sense for Chromium style to just follow Google style.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225363 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp