Lines Matching refs:Args
208 /// \brief Check if the attribute has exactly as many args as Num. May
222 /// \brief Check if the attribute has at least as many args as Num. May
418 SmallVectorImpl<Expr*> &Args,
426 Args.push_back(ArgExp);
435 Args.push_back(ArgExp);
443 Args.push_back(ArgExp);
480 Args.push_back(ArgExp);
490 // and types of args).
552 SmallVector<Expr*, 1> Args;
554 checkAttrArgsAreLockableObjs(S, D, Attr, Args);
555 unsigned Size = Args.size();
559 Arg = Args[0];
690 SmallVectorImpl<Expr *> &Args) {
716 checkAttrArgsAreLockableObjs(S, D, Attr, Args);
717 if (Args.empty())
725 SmallVector<Expr*, 1> Args;
726 if (!checkAcquireOrderAttrCommon(S, D, Attr, Args))
729 Expr **StartArg = &Args[0];
732 StartArg, Args.size(),
738 SmallVector<Expr*, 1> Args;
739 if (!checkAcquireOrderAttrCommon(S, D, Attr, Args))
742 Expr **StartArg = &Args[0];
745 StartArg, Args.size(),
751 SmallVectorImpl<Expr *> &Args) {
764 checkAttrArgsAreLockableObjs(S, D, Attr, Args, 0, /*ParamIdxOk=*/true);
771 SmallVector<Expr*, 1> Args;
772 if (!checkLockFunAttrCommon(S, D, Attr, Args))
775 unsigned Size = Args.size();
776 Expr **StartArg = Size == 0 ? 0 : &Args[0];
784 SmallVector<Expr*, 1> Args;
785 if (!checkLockFunAttrCommon(S, D, Attr, Args))
788 unsigned Size = Args.size();
789 Expr **StartArg = Size == 0 ? 0 : &Args[0];
798 SmallVector<Expr*, 1> Args;
799 if (!checkLockFunAttrCommon(S, D, Attr, Args))
802 unsigned Size = Args.size();
803 Expr **StartArg = Size == 0 ? 0 : &Args[0];
811 SmallVector<Expr*, 1> Args;
812 if (!checkLockFunAttrCommon(S, D, Attr, Args))
815 unsigned Size = Args.size();
816 Expr **StartArg = Size == 0 ? 0 : &Args[0];
826 SmallVectorImpl<Expr *> &Args) {
845 checkAttrArgsAreLockableObjs(S, D, Attr, Args, 1);
852 SmallVector<Expr*, 2> Args;
853 if (!checkTryLockFunAttrCommon(S, D, Attr, Args))
856 unsigned Size = Args.size();
857 Expr **StartArg = Size == 0 ? 0 : &Args[0];
866 SmallVector<Expr*, 2> Args;
867 if (!checkTryLockFunAttrCommon(S, D, Attr, Args))
870 unsigned Size = Args.size();
871 Expr **StartArg = Size == 0 ? 0 : &Args[0];
880 SmallVectorImpl<Expr *> &Args) {
893 checkAttrArgsAreLockableObjs(S, D, Attr, Args);
894 if (Args.empty())
902 SmallVector<Expr*, 1> Args;
903 if (!checkLocksRequiredCommon(S, D, Attr, Args))
906 Expr **StartArg = &Args[0];
909 StartArg, Args.size(),
915 SmallVector<Expr*, 1> Args;
916 if (!checkLocksRequiredCommon(S, D, Attr, Args))
919 Expr **StartArg = &Args[0];
922 StartArg, Args.size(),
939 SmallVector<Expr*, 1> Args;
940 checkAttrArgsAreLockableObjs(S, D, Attr, Args, 0, /*ParamIdxOk=*/true);
941 unsigned Size = Args.size();
942 Expr **StartArg = Size == 0 ? 0 : &Args[0];
963 SmallVector<Expr*, 1> Args;
964 checkAttrArgsAreLockableObjs(S, D, Attr, Args);
965 unsigned Size = Args.size();
970 LockReturnedAttr(Attr.getRange(), S.Context, Args[0],
988 SmallVector<Expr*, 1> Args;
989 checkAttrArgsAreLockableObjs(S, D, Attr, Args);
990 unsigned Size = Args.size();
993 Expr **StartArg = &Args[0];
4171 << Attr.getName() << /* required args = */ 3;