Bug in brew's standalone `clang-format` version, is it reproducible?

I experience a bug and don’t sure if it local for my machine.

I have two versions of clang-format:

  • a standalone brew version. Installed with brew install clang-format
  • version supplied with llvm. Installed as a part of llvm with brew install llvm
> brew --prefix clang-format
> $(brew --prefix clang-format)/bin/clang-format --version
clang-format version 9.0.0 (tags/google/stable/2019-05-14)

> brew --prefix llvm
> $(brew --prefix llvm)/bin/clang-format --version
clang-format version 9.0.0 (tags/RELEASE_900/final)

My .clang-format file is

BasedOnStyle: Mozilla
AlignConsecutiveMacros: true

I have expected result with llvm version of clang-format

> /usr/local/opt/llvm/bin/clang-format src/main.cpp
#include <iostream>

main(int argc, char* argv[])
  std::cout << "Hello World!" << std::endl;
  return 0;

But with standalone version i have an error:

> /usr/local/opt/clang-format/bin/clang-format src/main.cpp
YAML:7:25: error: unknown key 'AlignConsecutiveMacros'
AlignConsecutiveMacros: true
Error reading /Users/andreyborzunov/mountpoint/projects/factorizedpoisson/.clang-format: Invalid argument

Is this a reproducible bug?

Yes this seems to be reproducible as I am experiencing the same issue with clang-format v9.0.0 installed with brew.