diff options
author | Anna Zaks <ganna@apple.com> | 2013-06-06 22:32:11 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-06-06 22:32:11 +0000 |
commit | 57c8736e7dce5e63b4e1665d2c4fcf6e6ef959d0 (patch) | |
tree | e7f7dda42bd480adfcfa4d8979259f505d19abfa /test | |
parent | 6838710779a23ea5dfdb5764ad7b7a7451b00bf8 (diff) | |
download | clang-57c8736e7dce5e63b4e1665d2c4fcf6e6ef959d0.tar.gz |
[analyzer] Address Jordan’s code review for r183451
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Analysis/unix-fns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Analysis/unix-fns.c b/test/Analysis/unix-fns.c index ecd2421d5d..dad03fac70 100644 --- a/test/Analysis/unix-fns.c +++ b/test/Analysis/unix-fns.c @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,unix.API,osx.API %s -analyzer-store=region -analyzer-output=plist -analyzer-eagerly-assume -analyzer-config faux-bodies=true -analyzer-config path-diagnostics-alternate=false -fblocks -verify -o %t.plist // RUN: FileCheck --input-file=%t.plist %s -// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.API,osx.API -analyzer-output=html -analyzer-config faux-bodies=true -fblocks -o %T/dir %s +// RUN: mkdir -p %t.dir +// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.API,osx.API -analyzer-output=html -analyzer-config faux-bodies=true -fblocks -o %t.dir %s +// RUN: rm -fR %t.dir struct _opaque_pthread_once_t { long __sig; char __opaque[8]; @@ -16,7 +18,6 @@ void *realloc(void *, size_t); void *reallocf(void *, size_t); void *alloca(size_t); void *valloc(size_t); - typedef union { struct _os_object_s *_os_obj; struct dispatch_object_s *_do; @@ -32,7 +33,6 @@ typedef union { struct dispatch_operation_s *_doperation; struct dispatch_disk_s *_ddisk; } dispatch_object_t __attribute__((__transparent_union__)); - typedef void (^dispatch_block_t)(void); typedef long dispatch_once_t; typedef struct dispatch_queue_s *dispatch_queue_t; |