diff options
author | Anna Zaks <ganna@apple.com> | 2012-05-03 23:50:28 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-05-03 23:50:28 +0000 |
commit | 228f9c7b68fd2bf56b32623251b54f3d3c9ee3b7 (patch) | |
tree | 267b6117d5f94254b376ca1ac9cccb9cec4443ee /clang/test/Analysis/malloc.m | |
parent | b41171b70b214ee529b01c3f6166e0b82229dabf (diff) | |
download | bcm5719-llvm-228f9c7b68fd2bf56b32623251b54f3d3c9ee3b7.tar.gz bcm5719-llvm-228f9c7b68fd2bf56b32623251b54f3d3c9ee3b7.zip |
[analyzer] Allow pointers escape through calls containing callback args.
(Since we don't have a generic pointer escape callback, modify
ExprEngineCallAndReturn as well as the malloc checker.)
llvm-svn: 156134
Diffstat (limited to 'clang/test/Analysis/malloc.m')
-rw-r--r-- | clang/test/Analysis/malloc.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/malloc.m b/clang/test/Analysis/malloc.m index 6c94118286a..08206f3bf14 100644 --- a/clang/test/Analysis/malloc.m +++ b/clang/test/Analysis/malloc.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -verify -Wno-objc-root-class %s +// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -verify -Wno-objc-root-class -fblocks %s #include "system-header-simulator-objc.h" @class NSString; |