blob: 4fdfdbe461ccedeaaf176391c0bbb0f74943be45 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# 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