mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 12:26:08 +00:00
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:
parent
252f743858
commit
4754aa80e5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user