clang-tidy, modularize: return non-zero exit code on errors
authorAlexander Kornienko <alexfh@google.com>
Thu, 22 Mar 2018 14:18:20 +0000 (14:18 +0000)
committerAlexander Kornienko <alexfh@google.com>
Thu, 22 Mar 2018 14:18:20 +0000 (14:18 +0000)
commit301faac18be3855f2b742accc5e1b0f71ea8e3c7
tree2afae9f5ee2ed4bf17082abb90c8d01ba988182c
parent2dee62bd0af3178b656ba0409bb9f8af89c7ac2d
clang-tidy, modularize: return non-zero exit code on errors

When no inputs given, the tools should not only produce the help message, but
also return a non-zero exit code. Fixed tests accordingly.

llvm-svn: 328199
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
clang-tools-extra/modularize/Modularize.cpp
clang-tools-extra/test/clang-tidy/select-checks.cpp
clang-tools-extra/test/modularize/NoProblemsNamespace.modularize