]> granicus.if.org Git - clang/commitdiff
[arcmt] NSViewController does not support weak.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 8 Nov 2011 05:56:08 +0000 (05:56 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 8 Nov 2011 05:56:08 +0000 (05:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144077 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ARCMigrate/Transforms.cpp

index 96c472c52f12e14466fa55c151aaf17c82f71305..c1a573c34e9c26c3463f8770da38c82bdd25c527 100644 (file)
@@ -42,6 +42,7 @@ static bool isClassInWeakBlacklist(ObjCInterfaceDecl *cls) {
                  .Case("NSLazyBrowserCell", true)
                  .Case("NSWindow", true)
                  .Case("NSWindowController", true)
+                 .Case("NSViewController", true)
                  .Case("NSMenuView", true)
                  .Case("NSPersistentUIWindowInfo", true)
                  .Case("NSTableCellView", true)