]> granicus.if.org Git - clang/commitdiff
[analyzer] Tests quickfix.
authorGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 21 Dec 2018 19:40:44 +0000 (19:40 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 21 Dec 2018 19:40:44 +0000 (19:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349943 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/osobject-retain-release.cpp

index 0e8e49dd83ecfd3011d008d64b6d17ea4e6969fd..1fc5e31aa5767149f0eb07196cc0a3eb74891248 100644 (file)
@@ -143,7 +143,7 @@ void test_escaping_into_voidstar() {
 void test_escape_has_source() {
   OSObject *obj = new OSObject;
   if (obj)
-    escape_with_source((MYTYPE)obj);
+    escape_with_source(obj);
   return;
 }