Home | History | Annotate | Download | only in ARCMigrate

Lines Matching refs:info

150       CaseInfo &info = Cases[i];
151 if (isInRange(Diag.getLocation(), info.Range)) {
153 if (info.State == CaseInfo::St_Unchecked)
154 tryFixing(info);
155 assert(info.State != CaseInfo::St_Unchecked);
157 if (info.State == CaseInfo::St_Fixed) {
168 void tryFixing(CaseInfo &info) {
169 assert(info.State == CaseInfo::St_Unchecked);
170 if (hasVarReferencedOutside(info)) {
171 info.State = CaseInfo::St_CannotFix;
175 Pass.TA.insertAfterToken(info.SC->getColonLoc(), " {");
176 Pass.TA.insert(info.Range.getEnd(), "}\n");
177 info.State = CaseInfo::St_Fixed;
180 bool hasVarReferencedOutside(CaseInfo &info) {
183 if (isInRange(DRE->getDecl()->getLocation(), info.Range) &&
184 !isInRange(DRE->getLocation(), info.Range))