[cfe-commits] r68274 - /cfe/trunk/lib/Analysis/CFRefCount.cpp
Ted Kremenek
kremenek at apple.com
Wed Apr 1 19:40:46 PDT 2009
Author: kremenek
Date: Wed Apr 1 21:40:45 2009
New Revision: 68274
URL: http://llvm.org/viewvc/llvm-project?rev=68274&view=rev
Log:
Title-case the names of bug types.
Modified:
cfe/trunk/lib/Analysis/CFRefCount.cpp
Modified: cfe/trunk/lib/Analysis/CFRefCount.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFRefCount.cpp?rev=68274&r1=68273&r2=68274&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Wed Apr 1 21:40:45 2009
@@ -2499,13 +2499,13 @@
const char* name = 0;
if (isGCEnabled())
- name = "leak of returned object (GC)";
+ name = "Leak of returned object when using garbage collection";
else if (getLangOptions().getGCMode() == LangOptions::HybridGC)
- name = "[naming convention] leak of returned object (hybrid MM, "
- "non-GC)";
+ name = "Leak of returned object when not using garbage collection (GC) in "
+ "dual GC/non-GC code";
else {
assert(getLangOptions().getGCMode() == LangOptions::NonGC);
- name = "leak of returned object";
+ name = "Leak of returned object";
}
leakAtReturn = new LeakAtReturn(this, name);
@@ -2513,12 +2513,13 @@
// Second, register leaks within a function/method.
if (isGCEnabled())
- name = "leak (GC)";
+ name = "Leak of object when using garbage collection";
else if (getLangOptions().getGCMode() == LangOptions::HybridGC)
- name = "leak (hybrid MM, non-GC)";
+ name = "Leak of object when not using garbage collection (GC) in "
+ "dual GC/non-GC code";
else {
assert(getLangOptions().getGCMode() == LangOptions::NonGC);
- name = "leak";
+ name = "Leak";
}
leakWithinFunction = new LeakWithinFunction(this, name);
More information about the cfe-commits
mailing list