зеркало из https://github.com/microsoft/clang.git
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:
Родитель
2713347374
Коммит
0b00785872
lib/Analysis
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче