Lines Matching refs:Loc
87 SourceLocation Loc = TL.getAttrNameLoc(); in handleAttr() local
88 unsigned RawLoc = Loc.getRawEncoding(); in handleAttr()
94 if (Loc.isMacroID()) in handleAttr()
95 Loc = SM.getImmediateExpansionRange(Loc).first; in handleAttr()
116 Attr.Loc = Loc; in handleAttr()
175 bool isInMainFile(SourceLocation Loc) { in isInMainFile() argument
176 if (Loc.isInvalid()) in isInMainFile()
180 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
196 Attr.Loc); in errorForGCAttrsOnNonObjC()
214 if (!MigrateCtx.RemovedAttrSet.count(Attr.Loc.getRawEncoding())) in checkWeakGCAttrs()
215 TA.replaceText(Attr.Loc, "__weak", "__unsafe_unretained"); in checkWeakGCAttrs()
218 Attr.Loc); in checkWeakGCAttrs()
291 SourceLocation Loc = ATLs[i].first.getAttrNameLoc(); in checkAllAtProps() local
292 if (Loc.isMacroID()) in checkAllAtProps()
293 Loc = MigrateCtx.Pass.Ctx.getSourceManager() in checkAllAtProps()
294 .getImmediateExpansionRange(Loc).first; in checkAllAtProps()
295 TA.remove(Loc); in checkAllAtProps()
299 MigrateCtx.RemovedAttrSet.insert(Loc.getRawEncoding()); in checkAllAtProps()
346 Attr.Loc.dump(Pass.Ctx.getSourceManager()); in dumpGCAttrs()