| /llvm-project-15.0.7/clang/unittests/Introspection/ |
| H A D | IntrospectionTest.cpp | 264 …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 D | UseTrailingReturnTypeCheck.cpp | 457 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 D | Comment.cpp | 354 ReturnType = FTL.getReturnLoc().getType(); in fill()
|
| H A D | TypeLoc.cpp | 679 return Visit(T.getReturnLoc()); in VisitFunctionTypeLoc()
|
| H A D | Decl.cpp | 3621 SourceRange RTRange = FTL.getReturnLoc().getSourceRange(); in getReturnTypeSourceRange()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Initialization.h | 508 SourceLocation getReturnLoc() const { in getReturnLoc() function
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 2848 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 D | RecursiveASTVisitor.h | 1329 { TRY_TO(TraverseTypeLoc(TL.getReturnLoc())); }) 1333 TRY_TO(TraverseTypeLoc(TL.getReturnLoc())); 2684 TRY_TO(TraverseTypeLoc(Proto.getReturnLoc()));
|
| H A D | TypeLoc.h | 1467 TypeLoc getReturnLoc() const { in getReturnLoc() function
|
| /llvm-project-15.0.7/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 1510 Builder.markChildToken(S->getReturnLoc(), in WalkUpFromReturnStmt() 1627 auto ReturnedType = L.getReturnLoc(); in buildTrailingReturn()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.cpp | 580 return getContainedAutoParamType(FTL.getReturnLoc()); in getContainedAutoParamType()
|
| H A D | XRefs.cpp | 1060 found(Return, R->getReturnLoc()); in VisitReturnStmt()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 887 Ret->getReturnLoc(), stateToString(ExpectedState), in VisitReturnStmt()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 583 TraverseTypeLoc(Proto.getReturnLoc()); in dataTraverseNode()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 1410 ConvTL.getReturnLoc().getAs<PointerTypeLoc>(); in addFunctionPointerConversion()
|
| H A D | TreeTransform.h | 5940 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 D | SemaStmt.cpp | 3765 .getReturnLoc(); in getReturnTypeLoc()
|
| H A D | SemaDeclCXX.cpp | 5882 Visit(TL.getReturnLoc(), Sema::AbstractReturnType); in Check() 18082 !Finder.TraverseTypeLoc(ProtoTL.getReturnLoc())) in checkThisInStaticMemberFunctionType()
|
| H A D | SemaInit.cpp | 6237 return Entity.getReturnLoc(); in getInitializationLoc()
|
| H A D | SemaCodeComplete.cpp | 4837 GetCompletionTypeString(BlockLoc.getReturnLoc().getType(), Context, in AddObjCBlockCall()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | EasilySwappableParametersCheck.cpp | 378 if (const TypeLoc RetLoc = FTL.getReturnLoc()) in getUserDefinedConversionHighlight()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 839 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 D | ASTMatchers.h | 6571 return Loc && ReturnMatcher.matches(Loc.getReturnLoc(), Finder, Builder); in AST_MATCHER_P()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 270 Record.AddSourceLocation(S->getReturnLoc()); in VisitReturnStmt()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 3708 AttrLoc = FTL.getReturnLoc().findNullabilityLoc(); in EmitReturnValueCheck()
|