mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 16:41:27 +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…
Reference in New Issue
Block a user