Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDecl.cpp2922 SourceRange RTRange = FTL.getReturnLoc().getSourceRange(); in getReturnTypeSourceRange() local
2924 if (RTRange.isInvalid() || Boundary.isInvalid() || in getReturnTypeSourceRange()
2925 !SM.isBeforeInTranslationUnit(RTRange.getEnd(), Boundary)) in getReturnTypeSourceRange()
2928 return RTRange; in getReturnTypeSourceRange()
/external/clang/lib/Sema/
DSemaDecl.cpp8573 SourceRange RTRange = NewFD->getReturnTypeSourceRange(); in ActOnFunctionDeclarator() local
8575 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in ActOnFunctionDeclarator()
8953 SourceRange RTRange = FD->getReturnTypeSourceRange(); in CheckMain() local
8954 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() local
8970 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "int") in CheckMain()
DSemaDeclAttr.cpp3707 SourceRange RTRange = FD->getReturnTypeSourceRange(); in handleGlobalAttr() local
3710 << (RTRange.isValid() ? FixItHint::CreateReplacement(RTRange, "void") in handleGlobalAttr()