[all-commits] [llvm/llvm-project] 25f753: [clang-format] Add possibility to be based on pare...

Björn Schäpers via All-commits all-commits at lists.llvm.org
Sun Feb 14 10:56:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25f753c51e7b17bfca08155c1d777c5667110970
      https://github.com/llvm/llvm-project/commit/25f753c51e7b17bfca08155c1d777c5667110970
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2021-02-14 (Sun, 14 Feb 2021)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Add possibility to be based on parent directory

This allows the define BasedOnStyle: InheritParentConfig and then
clang-format looks into the parent directories for their
.clang-format and takes that as a basis.

Differential Revision: https://reviews.llvm.org/D93844




More information about the All-commits mailing list