Searched refs:RTRange (Results 1 – 3 of 3) sorted by relevance
2815 SourceRange RTRange = FTL.getReturnLoc().getSourceRange(); in getReturnTypeSourceRange() local2817 if (RTRange.isInvalid() || Boundary.isInvalid() || in getReturnTypeSourceRange()2818 !SM.isBeforeInTranslationUnit(RTRange.getEnd(), Boundary)) in getReturnTypeSourceRange()2821 return RTRange; in getReturnTypeSourceRange()
7847 SourceRange RTRange = NewFD->getReturnTypeSourceRange(); in ActOnFunctionDeclarator() local7849 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in ActOnFunctionDeclarator()8220 SourceRange RTRange = FD->getReturnTypeSourceRange(); in CheckMain() local8221 if (RTRange.isValid()) in CheckMain()8222 Diag(RTRange.getBegin(), diag::note_main_change_return_type) in CheckMain()8223 << FixItHint::CreateReplacement(RTRange, "int"); in CheckMain()8235 SourceRange RTRange = FD->getReturnTypeSourceRange(); in CheckMain() local8237 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "int") in CheckMain()
3287 SourceRange RTRange = FD->getReturnTypeSourceRange(); in handleGlobalAttr() local3290 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in handleGlobalAttr()