Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp65 unsigned IdxAST = Idx.getASTIndex(); in setBitsAccordingToFunctionAttributes()
H A DMallocChecker.cpp1708 return MallocMemAux(C, Call, Call.getArgExpr(I->getASTIndex()), in MallocMemReturnsAttr()
1797 FreeMemAux(C, Call, State, Arg.getASTIndex(), in FreeMemAttr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAttr.h304 unsigned getASTIndex() const { in getASTIndex() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclAttr.cpp812 QualType ParamTy = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in checkParamIsIntegerType()
816 << AI << getFunctionOrMethodParamRange(D, Idx.getASTIndex()); in checkParamIsIntegerType()
1588 if (Idx.getASTIndex() < getFunctionOrMethodNumParams(D) && in handleNonNullAttr()
1590 S, getFunctionOrMethodParamType(D, Idx.getASTIndex()), AL, in handleNonNullAttr()
1592 getFunctionOrMethodParamRange(D, Idx.getASTIndex()))) in handleNonNullAttr()
1746 QualType Ty = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in AddAllocAlignAttr()
1856 QualType T = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in handleOwnershipAttr()
3664 QualType Ty = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in handleFormatArgAttr()
5463 unsigned ArgumentIdxAST = ArgumentIdx.getASTIndex(); in handleArgumentWithTypeTagAttr()
6237 D, AsyncAttr->getCompletionHandlerIndex().getASTIndex()); in checkSwiftAsyncErrorBlock()
[all …]
H A DSemaChecking.cpp5556 unsigned IdxAST = Idx.getASTIndex(); in CheckNonNullArguments()
5789 const Expr *Arg = Args[AA->getParamIndex().getASTIndex()]; in checkCall()
8691 const Expr *Arg = CE->getArg(FA->getFormatIdx().getASTIndex()); in checkFormatStringExpr()
8738 const Expr *Arg = ME->getArg(FA->getFormatIdx().getASTIndex()); in checkFormatStringExpr()
14425 if (ArgNo.getASTIndex() == ParamNo) { in DiagnoseAlwaysNonNullPointer()
17282 unsigned TypeTagIdxAST = Attr->getTypeTagIdx().getASTIndex(); in CheckArgumentWithTypeTag()
17302 unsigned ArgumentIdxAST = Attr->getArgumentIdx().getASTIndex(); in CheckArgumentWithTypeTag()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCalledOnceCheck.cpp1009 return A->getCompletionHandlerIndex().getASTIndex() == ParamIndex; in isConventionalSwiftAsync()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp6110 unsigned ASTIdx = Idx.getASTIndex(); in EvaluateArgs()
8586 unsigned SizeArgNo = AllocSize->getElemSizeParam().getASTIndex(); in getBytesReturnedByAllocSizeCall()
8612 unsigned NumArgNo = AllocSize->getNumElemsParam().getASTIndex(); in getBytesReturnedByAllocSizeCall()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td1953 return Idx.getASTIndex() == IdxAST;