Home
last modified time | relevance | path

Searched refs:RTRange (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/AST/
DDecl.cpp2815 SourceRange RTRange = FTL.getReturnLoc().getSourceRange(); in getReturnTypeSourceRange() local
2817 if (RTRange.isInvalid() || Boundary.isInvalid() || in getReturnTypeSourceRange()
2818 !SM.isBeforeInTranslationUnit(RTRange.getEnd(), Boundary)) in getReturnTypeSourceRange()
2821 return RTRange; in getReturnTypeSourceRange()
/external/clang/lib/Sema/
DSemaDecl.cpp7847 SourceRange RTRange = NewFD->getReturnTypeSourceRange(); in ActOnFunctionDeclarator() local
7849 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in ActOnFunctionDeclarator()
8220 SourceRange RTRange = FD->getReturnTypeSourceRange(); in CheckMain() local
8221 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() local
8237 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "int") in CheckMain()
DSemaDeclAttr.cpp3287 SourceRange RTRange = FD->getReturnTypeSourceRange(); in handleGlobalAttr() local
3290 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in handleGlobalAttr()