Home
last modified time | relevance | path

Searched refs:getReturnLoc (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp264 …cl, getTypeSourceInfo()->getTypeLoc().getAs<clang::FunctionTypeLoc>().getReturnLoc().getBeginLoc()… in TEST()
265 …ecl, getTypeSourceInfo()->getTypeLoc().getAs<clang::FunctionTypeLoc>().getReturnLoc().getEndLoc()), in TEST()
270 …cl, getTypeSourceInfo()->getTypeLoc().getAs<clang::FunctionTypeLoc>().getReturnLoc().getNextTypeLo… in TEST()
335 …cl, getTypeSourceInfo()->getTypeLoc().getAs<clang::FunctionTypeLoc>().getReturnLoc().getLocalSourc… in TEST()
338 …cl, getTypeSourceInfo()->getTypeLoc().getAs<clang::FunctionTypeLoc>().getReturnLoc().getSourceRang… in TEST()
1264 STRING_LOCATION_STDPAIR(TL, getAs<clang::FunctionTypeLoc>().getReturnLoc().getAs<clang::BuiltinType… in TEST()
1265 STRING_LOCATION_STDPAIR(TL, getAs<clang::FunctionTypeLoc>().getReturnLoc().getAs<clang::BuiltinType… in TEST()
1266 STRING_LOCATION_STDPAIR(TL, getAs<clang::FunctionTypeLoc>().getReturnLoc().getBeginLoc()), in TEST()
1267 STRING_LOCATION_STDPAIR(TL, getAs<clang::FunctionTypeLoc>().getReturnLoc().getEndLoc()), in TEST()
1284 STRING_LOCATION_PAIR(TL, getAs<clang::FunctionTypeLoc>().getReturnLoc().getLocalSourceRange()), in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseTrailingReturnTypeCheck.cpp457 findReturnTypeAndCVSourceRange(*F, FTL.getReturnLoc(), Ctx, SM, LangOpts); in check()
470 UNV.TraverseTypeLoc(FTL.getReturnLoc()); in check()
/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp354 ReturnType = FTL.getReturnLoc().getType(); in fill()
H A DTypeLoc.cpp679 return Visit(T.getReturnLoc()); in VisitFunctionTypeLoc()
H A DDecl.cpp3621 SourceRange RTRange = FTL.getReturnLoc().getSourceRange(); in getReturnTypeSourceRange()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DInitialization.h508 SourceLocation getReturnLoc() const { in getReturnLoc() function
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h2848 SourceLocation getReturnLoc() const { return ReturnStmtBits.RetLoc; } in getReturnLoc() function
2851 SourceLocation getBeginLoc() const { return getReturnLoc(); } in getBeginLoc()
2853 return RetExpr ? RetExpr->getEndLoc() : getReturnLoc(); in getEndLoc()
H A DRecursiveASTVisitor.h1329 { TRY_TO(TraverseTypeLoc(TL.getReturnLoc())); })
1333 TRY_TO(TraverseTypeLoc(TL.getReturnLoc()));
2684 TRY_TO(TraverseTypeLoc(Proto.getReturnLoc()));
H A DTypeLoc.h1467 TypeLoc getReturnLoc() const { in getReturnLoc() function
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1510 Builder.markChildToken(S->getReturnLoc(), in WalkUpFromReturnStmt()
1627 auto ReturnedType = L.getReturnLoc(); in buildTrailingReturn()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp580 return getContainedAutoParamType(FTL.getReturnLoc()); in getContainedAutoParamType()
H A DXRefs.cpp1060 found(Return, R->getReturnLoc()); in VisitReturnStmt()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp887 Ret->getReturnLoc(), stateToString(ExpectedState), in VisitReturnStmt()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp583 TraverseTypeLoc(Proto.getReturnLoc()); in dataTraverseNode()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp1410 ConvTL.getReturnLoc().getAs<PointerTypeLoc>(); in addFunctionPointerConversion()
H A DTreeTransform.h5940 ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionProtoType()
5946 ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionProtoType()
6099 QualType ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionNoProtoType()
7699 return getDerived().RebuildReturnStmt(S->getReturnLoc(), Result.get()); in TransformReturnStmt()
H A DSemaStmt.cpp3765 .getReturnLoc(); in getReturnTypeLoc()
H A DSemaDeclCXX.cpp5882 Visit(TL.getReturnLoc(), Sema::AbstractReturnType); in Check()
18082 !Finder.TraverseTypeLoc(ProtoTL.getReturnLoc())) in checkThisInStaticMemberFunctionType()
H A DSemaInit.cpp6237 return Entity.getReturnLoc(); in getInitializationLoc()
H A DSemaCodeComplete.cpp4837 GetCompletionTypeString(BlockLoc.getReturnLoc().getType(), Context, in AddObjCBlockCall()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp378 if (const TypeLoc RetLoc = FTL.getReturnLoc()) in getUserDefinedConversionHighlight()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp839 Visit(FTL.getReturnLoc())) || in VisitFunctionDecl()
860 if (FTL && HasTrailingRT && Visit(FTL.getReturnLoc())) in VisitFunctionDecl()
1762 if (!SkipResultType && Visit(TL.getReturnLoc())) in VisitFunctionTypeLoc()
3507 if (Visit(Proto.getReturnLoc())) in RunVisitorWorkList()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6571 return Loc && ReturnMatcher.matches(Loc.getReturnLoc(), Finder, Builder); in AST_MATCHER_P()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp270 Record.AddSourceLocation(S->getReturnLoc()); in VisitReturnStmt()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp3708 AttrLoc = FTL.getReturnLoc().findNullabilityLoc(); in EmitReturnValueCheck()

12