0

Enable InsertNewlineAtEOF for clang-format.

This allows clang-format to insert new line at end of file when
running "git cl format".

Bug: 1079447
Change-Id: Ibb49a8da7a171f97cf7bbd11d64f4d3cf54d10e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4359030
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Zequan Wu <zequanwu@google.com>
Cr-Commit-Position: refs/heads/main@{#1120671}
This commit is contained in:
Zequan Wu
2023-03-22 18:12:29 +00:00
committed by Chromium LUCI CQ
parent 37efce7e41
commit a84a23aedf

@ -10,6 +10,7 @@ Standard: Cpp11
# TODO(crbug.com/1392808): Remove when InsertBraces has been upstreamed into
# the Chromium style (is implied by BasedOnStyle: Chromium).
InsertBraces: true
InsertNewlineAtEOF: true
# Make sure code like:
# IPC_BEGIN_MESSAGE_MAP()