Lines Matching defs:Unused
1 //==- ObjCUnusedIVarsChecker.cpp - Check for unused ivars --------*- C++ -*-==//
30 enum IVarState { Unused, Used };
118 // (b) explicitly marked unused
127 M[Ivar] = Unused;
136 // Any potentially unused ivars?
139 if (I->second == Unused) {
147 // We found some potentially unused ivars. Scan the entire translation unit
155 // Find ivars that are unused.
157 if (I->second == Unused) {
166 BR.EmitBasicReport(D, Checker, "Unused instance variable", "Optimization",