Bump the clang-format version to 7.
6 inserts some whitespace that 7 doesn't.
This commit is contained in:
@@ -204,10 +204,10 @@ phases:
|
||||
steps:
|
||||
- script: |
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
|
||||
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7.0 main"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y clang-format-6.0
|
||||
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-6.0 100
|
||||
sudo apt-get install -y clang-format-7.0
|
||||
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-7.0 100
|
||||
|
||||
bash check-format.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user