fix clang-tidy lint (#33448)

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33448

Test Plan: Imported from OSS

Differential Revision: D19952962

Pulled By: suo

fbshipit-source-id: db04bf74f6156edd1bd0716b12f6ca911c84a6bf
This commit is contained in:
Michael Suo
2020-02-18 11:00:19 -08:00
committed by Facebook Github Bot
parent 4468a7b7b3
commit abbf6e7f53

View File

@ -153,7 +153,7 @@ jobs:
# Install dependencies
pip install pyyaml
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-8 main"
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main"
sudo apt-get update
sudo apt-get install -y clang-tidy-8
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-8 1000