forked from OSchip/llvm-project
Remove '[naming convention]' from bug type.
llvm-svn: 66739
This commit is contained in:
parent
84f3afab97
commit
f9351cff98
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue