NSErrorCheck(const Decl &D, bool isNSError, GRExprEngine& eng)
: BugType(isNSError ? "NSError** null dereference"
: "CFErrorRef* null dereference",
- "Coding Conventions (Apple)"),
+ "Coding conventions (Apple)"),
CodeDecl(D),
isNSErrorWarning(isNSError),
II(&eng.getContext().Idents.get(isNSErrorWarning ? "NSError":"CFErrorRef")),
if (C.getState()->getSVal(*I).isUndef()) {
if (ExplodedNode *ErrorNode = C.generateNode(CE, C.getState(), true)) {
if (!BT)
- BT = new BugType("Uninitialized argument.", "Logic Errors.");
+ BT = new BugType("Uninitialized argument.", "Logic errors");
// Generate a report for this bug.
ArgReport *Report = new ArgReport(*BT,
"Pass-by-value argument in function call is undefined.",