check_clang_tidy.py now passes `-format-style=none` to clang_tidy
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 9 May 2019 17:08:10 +0000 (17:08 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 9 May 2019 17:08:10 +0000 (17:08 +0000)
commit4bf8632c45f965ce51f324eec6ab8ede52285581
treef8a2d46922cafa1b8b48951959030ce46f9c4dcb
parentbe10bc71f9af497cfe93e316e23fab6633ae54f6
check_clang_tidy.py now passes `-format-style=none` to clang_tidy

Summary:
If the test does not specify a formatting style, force "none"; otherwise
autodetection logic can discover a ".clang-tidy" file that is not
related to the test.

Reviewers: alexfh

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D61739

llvm-svn: 360358
clang-tools-extra/test/clang-tidy/check_clang_tidy.py