[all-commits] [llvm/llvm-project] 170a3c: [clang-format] Fix AllowAllConstructorInitializers...

Owen via All-commits all-commits at lists.llvm.org
Fri Aug 27 14:48:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 170a3c6f7a0599707d8ea5cfb1bc4252920edef7
      https://github.com/llvm/llvm-project/commit/170a3c6f7a0599707d8ea5cfb1bc4252920edef7
  Author: owenca <owenpiano at gmail.com>
  Date:   2021-08-27 (Fri, 27 Aug 2021)

  Changed paths:
    M clang/lib/Format/Format.cpp

  Log Message:
  -----------
  [clang-format] Fix AllowAllConstructorInitializersOnNextLine value

The default value of the now deprecated
AllowAllConstructorInitializersOnNextLine was always true
regardless of the value of BasedOnStyle. This patch fixes the typo
in the code that handles the related backward compatibility.




More information about the All-commits mailing list