[LLVMbugs] [Bug 22562] New: the ObjCMissingSuperCallChecker should also check [NSDocument close]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 12 03:22:57 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22562

            Bug ID: 22562
           Summary: the ObjCMissingSuperCallChecker should also check
                    [NSDocument close]
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: mayer.julian at googlemail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13853
  --> http://llvm.org/bugs/attachment.cgi?id=13853&action=edit
patch

i just lost hours because my NSDocument subclass did override "close" without
calling super. the documentation does not indicate this has to happen but in
practice any NSDocument application that overrides "close" without calling
super just hangs on exit.

patch attached.

i've also filed a report at apple about missing documentation

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150212/7f4a5bff/attachment.html>


More information about the llvm-bugs mailing list