blob: e25747d84e1e5bb28342114bcceca2f823218dbc [file] [log] [blame]
# Copyright 2017 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Defines the Chromium OS style for automatic reformatting.
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
# Please keep all directives after this one sorted alphabetically.
BasedOnStyle: Chromium
# This is permitted by the Google and Chromium style guides, and existing code
# uses it heavily.
AllowAllParametersOfDeclarationOnNextLine: true
# NOLINT(reason) is used heavily by existing code.
CommentPragmas: 'NOLINT:.*'
# cpplint.py does smarter #include sorting than clang-format (the former ignores
# case and changes '-' to '_').
SortIncludes: false