From f0c0337bbfb63d1f9edf145aab535bdf82c20454 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 3 May 2017 20:26:23 +0000 Subject: Vendor import of clang trunk r302069: https://llvm.org/svn/llvm-project/cfe/trunk@302069 --- lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp') diff --git a/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp b/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp index 21527d8c347a4..41999d2527639 100644 --- a/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp @@ -178,7 +178,7 @@ private: const MemRegion *Region, BugReporter &BR, const Stmt *ValueExpr = nullptr) const { if (!BT) - BT.reset(new BugType(this, "Nullability", "Memory error")); + BT.reset(new BugType(this, "Nullability", categories::MemoryError)); auto R = llvm::make_unique(*BT, Msg, N); if (Region) { -- cgit v1.2.3