Home
last modified time | relevance | path

Searched refs:getASTIndex (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp67 unsigned IdxAST = Idx.getASTIndex(); in setBitsAccordingToFunctionAttributes()
H A DMallocChecker.cpp1699 Call.getArgExpr(Att->args_begin()->getASTIndex()), in MallocMemReturnsAttr()
1794 FreeMemAux(C, Call, State, Arg.getASTIndex(), in FreeMemAttr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DAttr.h329 unsigned getASTIndex() const { in getASTIndex() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp827 QualType ParamTy = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in checkParamIsIntegerType()
831 << AI << getFunctionOrMethodParamRange(D, Idx.getASTIndex()); in checkParamIsIntegerType()
1603 if (Idx.getASTIndex() < getFunctionOrMethodNumParams(D) && in handleNonNullAttr()
1605 S, getFunctionOrMethodParamType(D, Idx.getASTIndex()), AL, in handleNonNullAttr()
1607 getFunctionOrMethodParamRange(D, Idx.getASTIndex()))) in handleNonNullAttr()
1761 QualType Ty = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in AddAllocAlignAttr()
1871 QualType T = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in handleOwnershipAttr()
3816 QualType Ty = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in handleFormatArgAttr()
5763 unsigned ArgumentIdxAST = ArgumentIdx.getASTIndex(); in handleArgumentWithTypeTagAttr()
6570 D, AsyncAttr->getCompletionHandlerIndex().getASTIndex()); in checkSwiftAsyncErrorBlock()
[all …]
H A DSemaChecking.cpp7305 unsigned IdxAST = Idx.getASTIndex(); in CheckNonNullArguments()
7590 const Expr *Arg = Args[AA->getParamIndex().getASTIndex()]; in checkCall()
10674 const Expr *Arg = CE->getArg(FA->getFormatIdx().getASTIndex()); in checkFormatStringExpr()
10725 const Expr *Arg = ME->getArg(FA->getFormatIdx().getASTIndex()); in checkFormatStringExpr()
16515 if (ArgNo.getASTIndex() == ParamNo) { in DiagnoseAlwaysNonNullPointer()
19357 unsigned TypeTagIdxAST = Attr->getTypeTagIdx().getASTIndex(); in CheckArgumentWithTypeTag()
19377 unsigned ArgumentIdxAST = Attr->getArgumentIdx().getASTIndex(); in CheckArgumentWithTypeTag()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCalledOnceCheck.cpp1009 return A->getCompletionHandlerIndex().getASTIndex() == ParamIndex; in isConventionalSwiftAsync()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp6210 unsigned ASTIdx = Idx.getASTIndex(); in EvaluateArgs()
8887 unsigned SizeArgNo = AllocSize->getElemSizeParam().getASTIndex(); in getBytesReturnedByAllocSizeCall()
8913 unsigned NumArgNo = AllocSize->getNumElemsParam().getASTIndex(); in getBytesReturnedByAllocSizeCall()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td2113 return Idx.getASTIndex() == IdxAST;