From: Ted Kremenek Date: Wed, 11 Mar 2009 23:43:16 +0000 (+0000) Subject: Remove '[naming convention]' from bug type. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3ad531dd43ddf11fdb32deb112e0f116296c693;p=clang Remove '[naming convention]' from bug type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66739 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 550410d66b..75a9f3dca1 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -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);