Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp65 unsigned IdxAST = Idx.getASTIndex(); in setBitsAccordingToFunctionAttributes()
H A DMallocChecker.cpp1496 return MallocMemAux(C, Call, Call.getArgExpr(I->getASTIndex()), in MallocMemReturnsAttr()
1585 FreeMemAux(C, Call, State, Arg.getASTIndex(), in FreeMemAttr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DAttr.h305 unsigned getASTIndex() const { in getASTIndex() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclAttr.cpp801 QualType ParamTy = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in checkParamIsIntegerType()
805 << AI << getFunctionOrMethodParamRange(D, Idx.getASTIndex()); in checkParamIsIntegerType()
1491 if (Idx.getASTIndex() < getFunctionOrMethodNumParams(D) && in handleNonNullAttr()
1493 S, getFunctionOrMethodParamType(D, Idx.getASTIndex()), AL, in handleNonNullAttr()
1495 getFunctionOrMethodParamRange(D, Idx.getASTIndex()))) in handleNonNullAttr()
1649 QualType Ty = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in AddAllocAlignAttr()
1654 << FuncDecl->getParamDecl(Idx.getASTIndex())->getSourceRange(); in AddAllocAlignAttr()
1759 QualType T = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in handleOwnershipAttr()
3278 QualType Ty = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in handleFormatArgAttr()
5041 unsigned ArgumentIdxAST = ArgumentIdx.getASTIndex(); in handleArgumentWithTypeTagAttr()
[all …]
H A DSemaChecking.cpp4478 unsigned IdxAST = Idx.getASTIndex(); in CheckNonNullArguments()
4667 const Expr *Arg = Args[AA->getParamIndex().getASTIndex()]; in checkCall()
7437 const Expr *Arg = CE->getArg(FA->getFormatIdx().getASTIndex()); in checkFormatStringExpr()
7486 const Expr *Arg = ME->getArg(FA->getFormatIdx().getASTIndex()); in checkFormatStringExpr()
13069 if (ArgNo.getASTIndex() == ParamNo) { in DiagnoseAlwaysNonNullPointer()
15827 unsigned TypeTagIdxAST = Attr->getTypeTagIdx().getASTIndex(); in CheckArgumentWithTypeTag()
15847 unsigned ArgumentIdxAST = Attr->getArgumentIdx().getASTIndex(); in CheckArgumentWithTypeTag()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCalledOnceCheck.cpp1009 return A->getCompletionHandlerIndex().getASTIndex() == ParamIndex; in isConventionalSwiftAsync()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp6025 unsigned ASTIdx = Idx.getASTIndex(); in EvaluateArgs()
8478 unsigned SizeArgNo = AllocSize->getElemSizeParam().getASTIndex(); in getBytesReturnedByAllocSizeCall()
8504 unsigned NumArgNo = AllocSize->getNumElemsParam().getASTIndex(); in getBytesReturnedByAllocSizeCall()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttr.td1874 [=](const ParamIdx &Idx) { return Idx.getASTIndex() == IdxAST; });