| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Comment.cpp | 160 if (FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>()) { in getFunctionTypeLoc() local 161 ResFTL = FTL; in getFunctionTypeLoc() 178 if (FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>()) { in getFunctionTypeLoc() local 179 ResFTL = FTL; in getFunctionTypeLoc() 351 FunctionTypeLoc FTL; in fill() local 352 if (getFunctionTypeLoc(TL, FTL)) { in fill() 353 ParamVars = FTL.getParams(); in fill() 354 ReturnType = FTL.getReturnLoc().getType(); in fill() 355 if (const auto *FPT = dyn_cast<FunctionProtoType>(FTL.getTypePtr())) in fill()
|
| H A D | Decl.cpp | 3615 FunctionTypeLoc FTL = getFunctionTypeLoc(); in getReturnTypeSourceRange() local 3616 if (!FTL) in getReturnTypeSourceRange() 3621 SourceRange RTRange = FTL.getReturnLoc().getSourceRange(); in getReturnTypeSourceRange() 3647 FunctionTypeLoc FTL = getFunctionTypeLoc(); in getExceptionSpecSourceRange() local 3648 return FTL ? FTL.getExceptionSpecRange() : SourceRange(); in getExceptionSpecSourceRange()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | ConvertMemberFunctionsToStatic.cpp | 110 const auto FTL = TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getLocationOfConst() local 111 assert(FTL); in getLocationOfConst() 113 SourceRange Range{FTL.getRParenLoc().getLocWithOffset(1), in getLocationOfConst() 114 FTL.getLocalRangeEnd()}; in getLocationOfConst()
|
| H A D | MakeMemberFunctionConstCheck.cpp | 246 FunctionTypeLoc FTL = in getConstInsertionPoint() local 248 if (!FTL) in getConstInsertionPoint() 251 return FTL.getRParenLoc().getLocWithOffset(1); in getConstInsertionPoint()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTrailingReturnTypeCheck.cpp | 127 const FunctionDecl &F, const FunctionTypeLoc &FTL, const ASTContext &Ctx, in findTrailingReturnTypeSourceLocation() argument 137 SourceLocation ClosingParen = FTL.getRParenLoc(); in findTrailingReturnTypeSourceLocation() 436 FunctionTypeLoc FTL = in check() local 438 if (!FTL) { in check() 447 findTrailingReturnTypeSourceLocation(*F, FTL, Ctx, SM, LangOpts); in check() 457 findReturnTypeAndCVSourceRange(*F, FTL.getReturnLoc(), Ctx, SM, LangOpts); in check() 470 UNV.TraverseTypeLoc(FTL.getReturnLoc()); in check()
|
| H A D | UseTrailingReturnTypeCheck.h | 45 const FunctionDecl &F, const FunctionTypeLoc &FTL, const ASTContext &Ctx,
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | InlayHints.cpp | 265 if (auto FTL = D->getFunctionTypeLoc()) in VisitFunctionDecl() local 266 addReturnTypeHint(D, FTL.getRParenLoc()); in VisitFunctionDecl()
|
| H A D | Selection.cpp | 926 if (auto FTL = TL->getAs<FunctionTypeLoc>()) { in claimTokensFor() local 927 claimRange(SourceRange(FTL.getLParenLoc(), FTL.getEndLoc()), Result); in claimTokensFor()
|
| H A D | AST.cpp | 579 if (auto FTL = TL.getAs<FunctionTypeLoc>()) in getContainedAutoParamType() local 580 return getContainedAutoParamType(FTL.getReturnLoc()); in getContainedAutoParamType()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | EasilySwappableParametersCheck.cpp | 377 if (const FunctionTypeLoc FTL = UDConvOp.Fun->getFunctionTypeLoc()) in getUserDefinedConversionHighlight() local 378 if (const TypeLoc RetLoc = FTL.getReturnLoc()) in getUserDefinedConversionHighlight()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 832 FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>(); in VisitFunctionDecl() local 838 if ((FTL && !isa<CXXConversionDecl>(ND) && !HasTrailingRT && in VisitFunctionDecl() 839 Visit(FTL.getReturnLoc())) || in VisitFunctionDecl() 840 (!FTL && Visit(TL))) in VisitFunctionDecl() 856 if (FTL && VisitFunctionTypeLoc(FTL, true)) in VisitFunctionDecl() 860 if (FTL && HasTrailingRT && Visit(FTL.getReturnLoc())) in VisitFunctionDecl()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | StackMaps.rst | 48 compiler within the open source WebKit project, see the `FTL JIT
|
| H A D | LangRef.rst | 347 This calling convention has been implemented for `WebKit FTL JIT
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 3707 if (auto FTL = TSI->getTypeLoc().getAsAdjusted<FunctionTypeLoc>()) in EmitReturnValueCheck() local 3708 AttrLoc = FTL.getReturnLoc().findNullabilityLoc(); in EmitReturnValueCheck()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 11387 if (FunctionTypeLoc FTL = MD->getTypeSourceInfo()->getTypeLoc() in CheckFunctionDeclaration() local 11389 AddConstLoc = getLocForEndOfToken(FTL.getRParenLoc()); in CheckFunctionDeclaration() 15102 if (FunctionNoProtoTypeLoc FTL = TL.getAs<FunctionNoProtoTypeLoc>()) in ActOnFinishFunctionBody() local 15107 FTL.getRParenLoc(), "void") in ActOnFinishFunctionBody()
|