]> granicus.if.org Git - clang/commitdiff
Remove '[naming convention]' from bug type.
authorTed Kremenek <kremenek@apple.com>
Wed, 11 Mar 2009 23:43:16 +0000 (23:43 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 11 Mar 2009 23:43:16 +0000 (23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66739 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFRefCount.cpp

index 550410d66bf491b75ffd4813a109e6671bd720dd..75a9f3dca108478994c56483ecff43c8ff075cd3 100644 (file)
@@ -2373,13 +2373,13 @@ void CFRefCount::RegisterChecks(BugReporter& BR) {
   const char* name = 0;
   
   if (isGCEnabled())
-    name = "[naming convention] leak of returned object (GC)";
+    name = "leak of returned object (GC)";
   else if (getLangOptions().getGCMode() == LangOptions::HybridGC)
     name = "[naming convention] leak of returned object (hybrid MM, "
            "non-GC)";
   else {
     assert(getLangOptions().getGCMode() == LangOptions::NonGC);
-    name = "[naming convention] leak of returned object";
+    name = "leak of returned object";
   }
   
   leakAtReturn = new LeakAtReturn(this, name);