Bump the clang-format version to 7.

6 inserts some whitespace that 7 doesn't.
This commit is contained in:
David Chisnall
2019-04-10 13:09:55 +01:00
parent ad0a22e571
commit 6f19d4e1e7

View File

@@ -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