summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-09-01 00:17:12 +0000
committerTed Kremenek <kremenek@apple.com>2009-09-01 00:17:12 +0000
commit3aff920676c4a3dbd8d84a1a8e456ec3e3d03675 (patch)
tree3d3918f450f9cb94d4266a36224a11e25a45d943 /clang
parentf4b34ba326e7606d0ba4a98366d7e101ec370177 (diff)
downloadbcm5719-llvm-3aff920676c4a3dbd8d84a1a8e456ec3e3d03675.tar.gz
bcm5719-llvm-3aff920676c4a3dbd8d84a1a8e456ec3e3d03675.zip
Sentence-case bug category.
llvm-svn: 80644
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Analysis/CheckNSError.cpp2
-rw-r--r--clang/lib/Analysis/GRExprEngineInternalChecks.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CheckNSError.cpp b/clang/lib/Analysis/CheckNSError.cpp
index 800940dc614..0b9ae04ecef 100644
--- a/clang/lib/Analysis/CheckNSError.cpp
+++ b/clang/lib/Analysis/CheckNSError.cpp
@@ -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")),
diff --git a/clang/lib/Analysis/GRExprEngineInternalChecks.cpp b/clang/lib/Analysis/GRExprEngineInternalChecks.cpp
index 35ca0c5dfb6..33546ea2245 100644
--- a/clang/lib/Analysis/GRExprEngineInternalChecks.cpp
+++ b/clang/lib/Analysis/GRExprEngineInternalChecks.cpp
@@ -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.",
OpenPOWER on IntegriCloud