Sentence-case bug category.

llvm-svn: 80644
This commit is contained in:
Ted Kremenek 2009-09-01 00:17:12 +00:00
parent f4b34ba326
commit 3aff920676
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ public:
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")),

View File

@ -659,7 +659,7 @@ void CheckUndefinedArg::PreVisitCallExpr(CheckerContext &C, const CallExpr *CE){
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.",