]> granicus.if.org Git - clang/commitdiff
Sentence-case bug category.
authorTed Kremenek <kremenek@apple.com>
Tue, 1 Sep 2009 00:17:12 +0000 (00:17 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 1 Sep 2009 00:17:12 +0000 (00:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80644 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CheckNSError.cpp
lib/Analysis/GRExprEngineInternalChecks.cpp

index 800940dc61459fba06ceb2d111cad6445318c8b9..0b9ae04ecefb3ce4291719eb281cc350fa999d71 100644 (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")),
index 35ca0c5dfb6db3fa97c261ab5f08d671f40dfdbf..33546ea22458d9f66b37bf88198763372cd8824c 100644 (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.",