Searched refs:RTRange (Results 1 – 3 of 3) sorted by relevance
2922 SourceRange RTRange = FTL.getReturnLoc().getSourceRange(); in getReturnTypeSourceRange() local2924 if (RTRange.isInvalid() || Boundary.isInvalid() || in getReturnTypeSourceRange()2925 !SM.isBeforeInTranslationUnit(RTRange.getEnd(), Boundary)) in getReturnTypeSourceRange()2928 return RTRange; in getReturnTypeSourceRange()
8573 SourceRange RTRange = NewFD->getReturnTypeSourceRange(); in ActOnFunctionDeclarator() local8575 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in ActOnFunctionDeclarator()8953 SourceRange RTRange = FD->getReturnTypeSourceRange(); in CheckMain() local8954 if (RTRange.isValid()) in CheckMain()8955 Diag(RTRange.getBegin(), diag::note_main_change_return_type) in CheckMain()8956 << FixItHint::CreateReplacement(RTRange, "int"); in CheckMain()8968 SourceRange RTRange = FD->getReturnTypeSourceRange(); in CheckMain() local8970 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "int") in CheckMain()
3707 SourceRange RTRange = FD->getReturnTypeSourceRange(); in handleGlobalAttr() local3710 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in handleGlobalAttr()