[cfe-commits] r80644 - in /cfe/trunk/lib/Analysis: CheckNSError.cpp GRExprEngineInternalChecks.cpp
Ted Kremenek
kremenek at apple.com
Mon Aug 31 17:17:12 PDT 2009
Author: kremenek
Date: Mon Aug 31 19:17:12 2009
New Revision: 80644
URL: http://llvm.org/viewvc/llvm-project?rev=80644&view=rev
Log:
Sentence-case bug category.
Modified:
cfe/trunk/lib/Analysis/CheckNSError.cpp
cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp
Modified: cfe/trunk/lib/Analysis/CheckNSError.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CheckNSError.cpp?rev=80644&r1=80643&r2=80644&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CheckNSError.cpp (original)
+++ cfe/trunk/lib/Analysis/CheckNSError.cpp Mon Aug 31 19:17:12 2009
@@ -51,7 +51,7 @@
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")),
Modified: cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp?rev=80644&r1=80643&r2=80644&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp Mon Aug 31 19:17:12 2009
@@ -659,7 +659,7 @@
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.",
More information about the cfe-commits
mailing list