]> granicus.if.org Git - clang/commit
Enhance the unused ivar checker to not consider an ivar to be accidentally unused
authorTed Kremenek <kremenek@apple.com>
Thu, 25 Feb 2010 03:26:55 +0000 (03:26 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 25 Feb 2010 03:26:55 +0000 (03:26 +0000)
commite3972a902d4a6f61fb21df092da2cace2b16cb3e
tree94dcdf8a9fed88c23164620917aa3d6bc2b13319
parent2ec93a8ec874088f7c410da46546ebdac94f258c
Enhance the unused ivar checker to not consider an ivar to be accidentally unused
when it is explicitly marked as unused via __attribute__((unused)).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Checker/CMakeLists.txt
lib/Checker/ObjCUnusedIVarsChecker.cpp [moved from lib/Checker/CheckObjCUnusedIVars.cpp with 92% similarity]
test/Analysis/unused-ivars.m