Lines Matching defs:AK
1766 void warnIfMutexNotHeld(const NamedDecl *D, const Expr *Exp, AccessKind AK,
1770 void checkAccess(const Expr *Exp, AccessKind AK);
1771 void checkPtAccess(const Expr *Exp, AccessKind AK);
1810 AccessKind AK, Expr *MutexExp,
1812 LockKind LK = getLockKindFromAccessKind(AK);
1871 void BuildLockset::checkAccess(const Expr *Exp, AccessKind AK) {
1877 checkPtAccess(UO->getSubExpr(), AK);
1883 checkPtAccess(AE->getLHS(), AK);
1890 checkPtAccess(ME->getBase(), AK);
1892 checkAccess(ME->getBase(), AK);
1900 Analyzer->Handler.handleNoMutexHeld(D, POK_VarAccess, AK,
1906 warnIfMutexNotHeld(D, Exp, AK, GBAttr->getArg(), POK_VarAccess);
1910 void BuildLockset::checkPtAccess(const Expr *Exp, AccessKind AK) {
1921 checkAccess(CE->getSubExpr(), AK);
1938 Analyzer->Handler.handleNoMutexHeld(D, POK_VarDereference, AK,
1944 warnIfMutexNotHeld(D, Exp, AK, GBAttr->getArg(), POK_VarDereference);
2645 LockKind getLockKindFromAccessKind(AccessKind AK) {
2646 switch (AK) {