]> granicus.if.org Git - clang/commitdiff
The "unused ivar" check now has a category: "Optimization"
authorTed Kremenek <kremenek@apple.com>
Sun, 21 Sep 2008 18:58:22 +0000 (18:58 +0000)
committerTed Kremenek <kremenek@apple.com>
Sun, 21 Sep 2008 18:58:22 +0000 (18:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56402 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CheckObjCUnusedIVars.cpp

index 45630c63bb8d6bb103dd999f9fb8c8876e8beab4..c2deeeff8fe49757ba61e6d0bd198be8987a7351 100644 (file)
@@ -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());
     }
 }