mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-08-02 05:04:39 +08:00
Set the InsertBraces and Standard rules. Change-Id: I0791c89eae05c4191c71a2c762619f89706599c2 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/103222 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
13 lines
578 B
YAML
13 lines
578 B
YAML
# Defines the Chromium style for automatic reformatting.
|
|
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
BasedOnStyle: Chromium
|
|
# This defaults to 'Auto'. Explicitly set it for a while, so that
|
|
# 'vector<vector<int> >' in existing files gets formatted to
|
|
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use
|
|
# 'int>>' if the file already contains at least one such instance.)
|
|
Standard: Cpp11
|
|
|
|
# TODO(crbug.com/1392808): Remove when InsertBraces has been upstreamed into
|
|
# the Chromium style (is implied by BasedOnStyle: Chromium).
|
|
InsertBraces: true
|