Refactor: Simplify boolean expression in modularize

Simplify boolean expressions using `true` and `false` with `clang-tidy`

Patch by Richard Thomson.

Differential Revision: http://reviews.llvm.org/D8534

llvm-svn: 233000
This commit is contained in:
David Blaikie 2015-03-23 19:40:59 +00:00
parent 252f743858
commit 4754aa80e5

View File

@ -288,7 +288,7 @@ CoverageChecker::collectUmbrellaHeaderHeaders(StringRef UmbrellaHeaderName) {
int HadErrors = Tool.run(new CoverageCheckerFrontendActionFactory(*this));
// If we had errors, exit early.
return HadErrors ? false : true;
return !HadErrors;
}
// Called from CoverageCheckerCallbacks to track a header included