aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index ac12ef7a72..4ef7400c34 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -920,5 +920,5 @@ int main(int argc, char **argv) {
fprintf(stderr, "\n");
}
- return Diags.getNumErrors();
+ return Diags.getNumErrors() != 0;
}