Lines Matching refs:AK
917 void warnIfMutexNotHeld (const NamedDecl *D, Expr *Exp, AccessKind AK,
919 void checkAccess(Expr *Exp, AccessKind AK);
920 void checkDereference(Expr *Exp, AccessKind AK);
1092 AccessKind AK, Expr *MutexExp,
1094 LockKind LK = getLockKindFromAccessKind(AK);
1109 void BuildLockset::checkDereference(Expr *Exp, AccessKind AK) {
1120 Handler.handleNoMutexHeld(D, POK_VarDereference, AK, Exp->getExprLoc());
1125 warnIfMutexNotHeld(D, Exp, AK, PGBAttr->getArg(), POK_VarDereference);
1132 void BuildLockset::checkAccess(Expr *Exp, AccessKind AK) {
1138 Handler.handleNoMutexHeld(D, POK_VarAccess, AK, Exp->getExprLoc());
1143 warnIfMutexNotHeld(D, Exp, AK, GBAttr->getArg(), POK_VarAccess);
1716 LockKind getLockKindFromAccessKind(AccessKind AK) {
1717 switch (AK) {