diff options
| author | Alexander Kornienko <alexfh@google.com> | 2018-04-09 15:12:10 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2018-04-09 15:12:10 +0000 |
| commit | c3ad02e84009a2d32501cde8704b3b1271944184 (patch) | |
| tree | 848c075312633eff1073ec879043be3187f6aedc /clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp | |
| parent | e9a5a2f10ca1d04fbf06b50dcb052711b8ddb1e7 (diff) | |
| download | bcm5719-llvm-c3ad02e84009a2d32501cde8704b3b1271944184.tar.gz bcm5719-llvm-c3ad02e84009a2d32501cde8704b3b1271944184.zip | |
[clang-tidy] Return non-zero exit code for clang errors.
Summary:
Updated tests broken by this change.
Fixes https://bugs.llvm.org/show_bug.cgi?id=27628
Reviewers: ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: klimek, xazax.hun, cfe-commits
Differential Revision: https://reviews.llvm.org/D45258
llvm-svn: 329579
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp')
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp b/clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp index 804253c7d08..8b0895af795 100644 --- a/clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp +++ b/clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp @@ -1,3 +1,3 @@ -// RUN: clang-tidy -checks=-*,llvm-namespace-comment %s -- -serialize-diagnostics %t | FileCheck %s +// RUN: not clang-tidy -checks=-*,llvm-namespace-comment %s -- -serialize-diagnostics %t | FileCheck %s // CHECK: :[[@LINE+1]]:12: error: expected ';' after struct [clang-diagnostic-error] struct A {} |

