Searched refs:ArgPos (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/ |
| H A D | CloexecCheck.cpp | 54 StringRef MacroFlag, int ArgPos) { in insertMacroFlag() argument 56 const auto *FlagArg = MatchedCall->getArg(ArgPos); in insertMacroFlag() 83 const int ArgPos) { in insertStringFlag() argument 86 const auto *ModeArg = MatchedCall->getArg(ArgPos); in insertStringFlag()
|
| H A D | CloexecOpenCheck.cpp | 37 int ArgPos = (FD->param_size() > 2) ? 2 : 1; in check() local 38 insertMacroFlag(Result, /*MacroFlag=*/"O_CLOEXEC", ArgPos); in check()
|
| H A D | CloexecCheck.h | 54 StringRef MacroFlag, int ArgPos); 87 const char Mode, const int ArgPos);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | NotNullTerminatedResultCheck.cpp | 372 static void lengthArgPosHandle(unsigned ArgPos, LengthHandleKind LengthHandle, in lengthArgPosHandle() argument 376 lengthExprHandle(FunctionExpr->getArg(ArgPos), LengthHandle, Result, Diag); in lengthArgPosHandle() 408 static void removeArg(int ArgPos, const MatchFinder::MatchResult &Result, in removeArg() argument 415 const Expr *ArgToRemove = FunctionExpr->getArg(ArgPos); in removeArg() 416 const Expr *LHSArg = FunctionExpr->getArg(ArgPos - 1); in removeArg()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 2974 IRPosition ArgPos = IRPosition::argument(Arg); in identifyDefaultAbstractAttributes() local 2984 getOrCreateAAFor<AAIsDead>(ArgPos); in identifyDefaultAbstractAttributes() 2987 getOrCreateAAFor<AANoUndef>(ArgPos); in identifyDefaultAbstractAttributes() 2991 getOrCreateAAFor<AANonNull>(ArgPos); in identifyDefaultAbstractAttributes() 2994 getOrCreateAAFor<AANoAlias>(ArgPos); in identifyDefaultAbstractAttributes() 2997 getOrCreateAAFor<AADereferenceable>(ArgPos); in identifyDefaultAbstractAttributes() 3000 getOrCreateAAFor<AAAlign>(ArgPos); in identifyDefaultAbstractAttributes() 3003 getOrCreateAAFor<AANoCapture>(ArgPos); in identifyDefaultAbstractAttributes() 3007 getOrCreateAAFor<AAMemoryBehavior>(ArgPos); in identifyDefaultAbstractAttributes() 3010 getOrCreateAAFor<AANoFree>(ArgPos); in identifyDefaultAbstractAttributes() [all …]
|
| H A D | AttributorAttributes.cpp | 1526 const IRPosition &ArgPos = IRPosition::argument(*Arg); in updateImpl() local 1528 A.getAAFor<AAPointerInfo>(*this, ArgPos, DepClassTy::REQUIRED); in updateImpl() 2140 const IRPosition &ArgPos = IRPosition::argument(*Arg); in updateImpl() local 2141 auto &ArgAA = A.getAAFor<AANoFree>(*this, ArgPos, DepClassTy::REQUIRED); in updateImpl() 3621 const IRPosition &ArgPos = IRPosition::argument(*Arg); in updateImpl() local 3622 auto &ArgAA = A.getAAFor<AAIsDead>(*this, ArgPos, DepClassTy::REQUIRED); in updateImpl() 4901 const IRPosition &ArgPos = IRPosition::argument(*Arg); in updateImpl() local 4903 A.getAAFor<AAInstanceInfo>(*this, ArgPos, DepClassTy::REQUIRED); in updateImpl() 5243 const IRPosition &ArgPos = IRPosition::argument(*Arg); in updateImpl() local 7177 const IRPosition &ArgPos = IRPosition::argument(*Arg); in updateImpl() local [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 2920 unsigned ArgPos; in HandleFunctionTypeMismatch() local 2921 if (!FunctionParamTypesAreEqual(FromFunction, ToFunction, &ArgPos)) { in HandleFunctionTypeMismatch() 2922 PDiag << ft_parameter_mismatch << ArgPos + 1 in HandleFunctionTypeMismatch() 2923 << ToFunction->getParamType(ArgPos) in HandleFunctionTypeMismatch() 2924 << FromFunction->getParamType(ArgPos); in HandleFunctionTypeMismatch() 2965 unsigned *ArgPos, bool Reversed) { in FunctionParamTypesAreEqual() argument 2979 if (ArgPos) in FunctionParamTypesAreEqual() 2980 *ArgPos = I; in FunctionParamTypesAreEqual()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 3670 unsigned *ArgPos = nullptr,
|