diff --git a/clang/lib/Analysis/CheckNSError.cpp b/clang/lib/Analysis/CheckNSError.cpp index 800940dc6145..0b9ae04ecefb 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 35ca0c5dfb6d..33546ea22458 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.",