summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/edges-new.mm
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2017-05-03 11:47:13 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2017-05-03 11:47:13 +0000
commitb6a513d1b25fd7a8a960075df63f93b4ef409644 (patch)
tree679cc6f957384d5e8fa9280d91e047ec32169d23 /clang/test/Analysis/edges-new.mm
parent53c8d95c850eb2a97962882c9c0effe98a917f41 (diff)
downloadbcm5719-llvm-b6a513d1b25fd7a8a960075df63f93b4ef409644.tar.gz
bcm5719-llvm-b6a513d1b25fd7a8a960075df63f93b4ef409644.zip
[analyzer] Fix memory error bug category capitalization.
It was written as "Memory Error" in most places and as "Memory error" in a few other places, however it is the latter that is more consistent with other categories (such as "Logic error"). rdar://problem/31718115 Differential Revision: https://reviews.llvm.org/D32702 llvm-svn: 302016
Diffstat (limited to 'clang/test/Analysis/edges-new.mm')
-rw-r--r--clang/test/Analysis/edges-new.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/edges-new.mm b/clang/test/Analysis/edges-new.mm
index 217cd4aa467..47a125ab090 100644
--- a/clang/test/Analysis/edges-new.mm
+++ b/clang/test/Analysis/edges-new.mm
@@ -20042,7 +20042,7 @@ namespace rdar14960554 {
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Potential leak of memory pointed to by &apos;buf&apos;</string>
-// CHECK-NEXT: <key>category</key><string>Memory Error</string>
+// CHECK-NEXT: <key>category</key><string>Memory error</string>
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
@@ -20284,7 +20284,7 @@ namespace rdar14960554 {
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Memory allocated by &apos;new[]&apos; should be deallocated by &apos;delete[]&apos;, not &apos;delete&apos;</string>
-// CHECK-NEXT: <key>category</key><string>Memory Error</string>
+// CHECK-NEXT: <key>category</key><string>Memory error</string>
// CHECK-NEXT: <key>type</key><string>Bad deallocator</string>
// CHECK-NEXT: <key>check_name</key><string>unix.MismatchedDeallocator</string>
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
OpenPOWER on IntegriCloud