diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-11-14 17:12:50 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-11-14 17:12:50 +0000 |
commit | b7859ddf9bdc2b8ef689036fadb4501cf22d79f4 (patch) | |
tree | 520645c32bb4333a17b241f5700b6dc15959556d /clang/test/Analysis/NSContainers.m | |
parent | df8f2a23cbaf0ff16cdc9d98fba10dc2b323985c (diff) | |
download | bcm5719-llvm-b7859ddf9bdc2b8ef689036fadb4501cf22d79f4.tar.gz bcm5719-llvm-b7859ddf9bdc2b8ef689036fadb4501cf22d79f4.zip |
[Sema]. Warn when logical expression is a pointer
which evaluates to true. rdar://18716393.
Reviewed by Richard Trieu
llvm-svn: 222009
Diffstat (limited to 'clang/test/Analysis/NSContainers.m')
-rw-r--r-- | clang/test/Analysis/NSContainers.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/NSContainers.m b/clang/test/Analysis/NSContainers.m index 4b349264568..402ce2c90a1 100644 --- a/clang/test/Analysis/NSContainers.m +++ b/clang/test/Analysis/NSContainers.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.NonNilReturnValue,osx.cocoa.NilArg,osx.cocoa.Loops,debug.ExprInspection -verify -Wno-objc-root-class %s +// RUN: %clang_cc1 -Wno-objc-literal-conversion -analyze -analyzer-checker=core,osx.cocoa.NonNilReturnValue,osx.cocoa.NilArg,osx.cocoa.Loops,debug.ExprInspection -verify -Wno-objc-root-class %s void clang_analyzer_eval(int); |