1 // RUN: %clang_cc1 -arcmt-action=migrate -mt-migrate-directory %t.dir -arcmt-migrate-report-output %t.plist %s
2 // RUN: FileCheck %s -input-file=%t.plist
6 - (oneway void)release;
13 // CHECK: <?xml version="1.0" encoding="UTF-8"?>
14 // CHECK: <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
15 // CHECK: <plist version="1.0">
17 // CHECK: <key>files</key>
20 // CHECK: <key>diagnostics</key>
23 // CHECK: <key>description</key><string>ARC forbids explicit message send of 'release'</string>
24 // CHECK: <key>category</key><string>ARC Restrictions</string>
25 // CHECK: <key>type</key><string>error</string>
26 // CHECK: <key>location</key>
28 // CHECK: <key>line</key><integer>10</integer>
29 // CHECK: <key>col</key><integer>6</integer>
30 // CHECK: <key>file</key><integer>0</integer>
32 // CHECK: <key>ranges</key>
36 // CHECK: <key>line</key><integer>10</integer>
37 // CHECK: <key>col</key><integer>4</integer>
38 // CHECK: <key>file</key><integer>0</integer>
41 // CHECK: <key>line</key><integer>10</integer>
42 // CHECK: <key>col</key><integer>4</integer>
43 // CHECK: <key>file</key><integer>0</integer>