http://llvm.org/bugs/show_bug.cgi?id=11185
Summary: Add checks for setting NSError **outError
Product: clang
Version: 2.8
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
If you are implementing a method or function with a return type that can be
used as a condition, and your method takes an "NSError **" argument, then
ensure that all paths set the outError (if non-NULL) or pass outError down to
other methods/functions that can fill it out.
Passing outError down to a void-returning function or method should mark that
path as having set outError (on the presumption that it is a utility function
that fulfills this purpose).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs