diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-28 17:36:18 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-28 17:36:18 +0000 |
commit | b3d74da3e1620c9a7a378afb5f244e4987e6713e (patch) | |
tree | f9f92a597661a7fc95048f56d2e3428bec080aa4 /test/Analysis/override-werror.c | |
parent | deb6447d0029bdb122397fafb5fa2a4e76f2e555 (diff) |
[analyzer] Migrate NSErrorChecker and DereferenceChecker to CheckerV2.
They cooperate in that NSErrorChecker listens for ImplicitNullDerefEvent events that
DereferenceChecker can dispatch.
ImplicitNullDerefEvent is when we dereferenced a location that may be null.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/override-werror.c')
-rw-r--r-- | test/Analysis/override-werror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/override-werror.c b/test/Analysis/override-werror.c index ce0f1ac9ab..4b812295fd 100644 --- a/test/Analysis/override-werror.c +++ b/test/Analysis/override-werror.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -analyze -analyzer-checker=core.experimental -analyzer-check-objc-mem -Werror %s -analyzer-store=basic -verify -// RUN: %clang_cc1 -analyze -analyzer-checker=core.experimental -analyzer-check-objc-mem -Werror %s -analyzer-store=region -verify +// RUN: %clang_cc1 -analyze -analyzer-checker=core,core.experimental -analyzer-check-objc-mem -Werror %s -analyzer-store=basic -verify +// RUN: %clang_cc1 -analyze -analyzer-checker=core,core.experimental -analyzer-check-objc-mem -Werror %s -analyzer-store=region -verify // This test case illustrates that using '-analyze' overrides the effect of // -Werror. This allows basic warnings not to interfere with producing |