Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpShared.cpp31 unsigned ASTIdx = Idx.getASTIndex(); in collectNonNullArgs()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp66 unsigned IdxAST = Idx.getASTIndex(); in setBitsAccordingToFunctionAttributes()
H A DMallocChecker.cpp1874 Call.getArgExpr(Att->args_begin()->getASTIndex()), in MallocMemReturnsAttr()
2040 FreeMemAux(C, Call, State, Arg.getASTIndex(), in FreeMemAttr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSwift.cpp227 D, AsyncAttr->getCompletionHandlerIndex().getASTIndex()); in checkSwiftAsyncErrorBlock()
700 getFunctionOrMethodParam(D, Idx.getASTIndex()); in handleAsyncAttr()
H A DSemaDeclAttr.cpp556 QualType ParamTy = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in checkParamIsIntegerType()
560 << AI << getFunctionOrMethodParamRange(D, Idx.getASTIndex()); in checkParamIsIntegerType()
1298 if (Idx.getASTIndex() < getFunctionOrMethodNumParams(D) && in handleNonNullAttr()
1300 S, getFunctionOrMethodParamType(D, Idx.getASTIndex()), AL, in handleNonNullAttr()
1302 getFunctionOrMethodParamRange(D, Idx.getASTIndex()))) in handleNonNullAttr()
1448 QualType Ty = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in AddAllocAlignAttr()
1452 << CI << FuncDecl->getParamDecl(Idx.getASTIndex())->getSourceRange(); in AddAllocAlignAttr()
1529 QualType T = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in handleOwnershipAttr()
1805 !getFunctionOrMethodParamType(DeallocFD, DeallocPtrIdx.getASTIndex()) in handleRestrictAttr()
1820 getFunctionOrMethodParamType(DeallocFD, DeallocPtrIdx.getASTIndex()); in handleRestrictAttr()
[all …]
H A DSemaChecking.cpp3371 unsigned IdxAST = Idx.getASTIndex(); in CheckNonNullArguments()
3696 const Expr *Arg = Args[AA->getParamIndex().getASTIndex()]; in checkCall()
6465 const Expr *Arg = CE->getArg(FA->getFormatIdx().getASTIndex()); in checkFormatStringExpr()
6516 const Expr *Arg = ME->getArg(FA->getFormatIdx().getASTIndex()); in checkFormatStringExpr()
13062 if (ArgNo.getASTIndex() == ParamNo) { in DiagnoseAlwaysNonNullPointer()
15450 unsigned TypeTagIdxAST = Attr->getTypeTagIdx().getASTIndex(); in CheckArgumentWithTypeTag()
15470 unsigned ArgumentIdxAST = Attr->getArgumentIdx().getASTIndex(); in CheckArgumentWithTypeTag()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAttr.h335 unsigned getASTIndex() const { in getASTIndex() function
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCalledOnceCheck.cpp1008 return A->getCompletionHandlerIndex().getASTIndex() == ParamIndex; in isConventionalSwiftAsync()
H A DUnsafeBufferUsage.cpp618 Call->getArg(AllocAttr->getElemSizeParam().getASTIndex()); in isSafeSpanTwoParamConstruct()
625 const Expr *NumElesExpr = Call->getArg(NumElemIdx.getASTIndex()); in isSafeSpanTwoParamConstruct()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp6568 unsigned ASTIdx = Idx.getASTIndex(); in EvaluateArgs()
9394 unsigned SizeArgNo = AllocSize->getElemSizeParam().getASTIndex(); in getBytesReturnedByAllocSizeCall()
9420 unsigned NumArgNo = AllocSize->getNumElemsParam().getASTIndex(); in getBytesReturnedByAllocSizeCall()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td2525 return Idx.getASTIndex() == IdxAST;