llvm-project/clang-tools-extra/clang-tidy/tool
Zinovy Nis f8b7269f98 [clang-tidy] Handle missing yaml module in run-clang-tidy.py
The Yaml module is missing on some systems and on many of clang buildbots. 
But the test for run-clang-tidy.py doesn't fail due to 'NOT' statement masking a python runtime error.

This patch conditionally imports and enables the yaml module only if it's present in the system. 
If not, then '-export-fixes' is disabled.

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

llvm-svn: 357114
2019-03-27 19:21:32 +00:00
..
CMakeLists.txt [clang-tidy] A new OpenMP module 2019-03-22 19:46:01 +00:00
ClangTidyMain.cpp [clang-tidy] Expand modular headers for PPCallbacks 2019-03-22 13:42:48 +00:00
clang-tidy-diff.py [clang-tidy] Handle missing yaml module in run-clang-tidy.py 2019-03-27 19:21:32 +00:00
run-clang-tidy.py [clang-tidy] Handle missing yaml module in run-clang-tidy.py 2019-03-27 19:21:32 +00:00