Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDecl.cpp2765 SourceRange RTRange = FTL.getReturnLoc().getSourceRange(); in getReturnTypeSourceRange() local
2767 if (RTRange.isInvalid() || Boundary.isInvalid() || in getReturnTypeSourceRange()
2768 !SM.isBeforeInTranslationUnit(RTRange.getEnd(), Boundary)) in getReturnTypeSourceRange()
2771 return RTRange; in getReturnTypeSourceRange()
/external/clang/lib/Sema/
DSemaDecl.cpp7574 SourceRange RTRange = NewFD->getReturnTypeSourceRange(); in ActOnFunctionDeclarator() local
7576 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in ActOnFunctionDeclarator()
7966 SourceRange RTRange = FD->getReturnTypeSourceRange(); in CheckMain() local
7967 if (RTRange.isValid()) in CheckMain()
7968 Diag(RTRange.getBegin(), diag::note_main_change_return_type) in CheckMain()
7969 << FixItHint::CreateReplacement(RTRange, "int"); in CheckMain()
7981 SourceRange RTRange = FD->getReturnTypeSourceRange(); in CheckMain() local
7983 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "int") in CheckMain()
DSemaDeclAttr.cpp3042 SourceRange RTRange = FD->getReturnTypeSourceRange(); in handleGlobalAttr() local
3045 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in handleGlobalAttr()