Home
last modified time | relevance | path

Searched refs:FTL (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp160 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 DDecl.cpp3615 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 DConvertMemberFunctionsToStatic.cpp110 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 DMakeMemberFunctionConstCheck.cpp246 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 DUseTrailingReturnTypeCheck.cpp127 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 DUseTrailingReturnTypeCheck.h45 const FunctionDecl &F, const FunctionTypeLoc &FTL, const ASTContext &Ctx,
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DInlayHints.cpp265 if (auto FTL = D->getFunctionTypeLoc()) in VisitFunctionDecl() local
266 addReturnTypeHint(D, FTL.getRParenLoc()); in VisitFunctionDecl()
H A DSelection.cpp926 if (auto FTL = TL->getAs<FunctionTypeLoc>()) { in claimTokensFor() local
927 claimRange(SourceRange(FTL.getLParenLoc(), FTL.getEndLoc()), Result); in claimTokensFor()
H A DAST.cpp579 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 DEasilySwappableParametersCheck.cpp377 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 DCIndex.cpp832 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 DStackMaps.rst48 compiler within the open source WebKit project, see the `FTL JIT
H A DLangRef.rst347 This calling convention has been implemented for `WebKit FTL JIT
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp3707 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 DSemaDecl.cpp11387 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()