diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-05-26 18:45:44 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-05-26 18:45:44 +0000 |
commit | f230198f159abd1a08e31c5d4e96fc65e24dd258 (patch) | |
tree | dc6d15d1cf5e48eb12ec7f38c2f2fc4cb702360a /clang/test/Analysis/plist-output-alternate.m | |
parent | fafca58c58453d8fcfc694d207738b0aa1215651 (diff) | |
download | bcm5719-llvm-f230198f159abd1a08e31c5d4e96fc65e24dd258.tar.gz bcm5719-llvm-f230198f159abd1a08e31c5d4e96fc65e24dd258.zip |
Tighen analyzer diagnostics w.r.t ObjC/CF leaks.
llvm-svn: 132130
Diffstat (limited to 'clang/test/Analysis/plist-output-alternate.m')
-rw-r--r-- | clang/test/Analysis/plist-output-alternate.m | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/test/Analysis/plist-output-alternate.m b/clang/test/Analysis/plist-output-alternate.m index a7e3c3cfe48..0f4d3aee074 100644 --- a/clang/test/Analysis/plist-output-alternate.m +++ b/clang/test/Analysis/plist-output-alternate.m @@ -864,9 +864,9 @@ void rdar8331641(int x) { // CHECK: </array> // CHECK: </array> // CHECK: <key>extended_message</key> -// CHECK: <string>Call to function 'CFNumberCreate' returns a Core Foundation object with a +1 retain count (owning reference)</string> +// CHECK: <string>Call to function 'CFNumberCreate' returns a Core Foundation object with a +1 retain count</string> // CHECK: <key>message</key> -// CHECK: <string>Call to function 'CFNumberCreate' returns a Core Foundation object with a +1 retain count (owning reference)</string> +// CHECK: <string>Call to function 'CFNumberCreate' returns a Core Foundation object with a +1 retain count</string> // CHECK: </dict> // CHECK: <dict> // CHECK: <key>kind</key><string>control</string> @@ -994,9 +994,9 @@ void rdar8331641(int x) { // CHECK: </array> // CHECK: </array> // CHECK: <key>extended_message</key> -// CHECK: <string>Object allocated on line 53 and stored into 'value' is not referenced later in this execution path and has a retain count of +1 (object leaked)</string> +// CHECK: <string>Object leaked: object allocated and stored into 'value' is not referenced later in this execution path and has a retain count of +1</string> // CHECK: <key>message</key> -// CHECK: <string>Object allocated on line 53 and stored into 'value' is not referenced later in this execution path and has a retain count of +1 (object leaked)</string> +// CHECK: <string>Object leaked: object allocated and stored into 'value' is not referenced later in this execution path and has a retain count of +1</string> // CHECK: </dict> // CHECK: </array> // CHECK: <key>description</key><string>Potential leak of an object allocated on line 53 and stored into 'value'</string> @@ -1012,3 +1012,4 @@ void rdar8331641(int x) { // CHECK: </array> // CHECK: </dict> // CHECK: </plist> + |