The "unused ivar" check now has a category: "Optimization"

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56402 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2008-09-21 18:58:22 +00:00
Родитель 2713347374
Коммит 0b00785872
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -103,7 +103,7 @@ void clang::CheckObjCUnusedIvar(ObjCImplementationDecl* D, BugReporter& BR) {
<< "' is never used by the methods in its @implementation "
"(although it may be used by category methods).";
BR.EmitBasicReport("unused ivar",
BR.EmitBasicReport("unused ivar", "Optimization",
os.str().c_str(), I->first->getLocation());
}
}