Lines Matching refs:DiagID
1307 void warnLockMismatch(unsigned DiagID, Name LockName, SourceLocation Loc) { in warnLockMismatch() argument
1312 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << LockName); in warnLockMismatch()
1351 unsigned DiagID = 0; in handleMutexHeldEndOfScope() local
1354 DiagID = diag::warn_lock_some_predecessors; in handleMutexHeldEndOfScope()
1357 DiagID = diag::warn_expecting_lock_held_on_loop; in handleMutexHeldEndOfScope()
1360 DiagID = diag::warn_no_unlock; in handleMutexHeldEndOfScope()
1363 DiagID = diag::warn_expecting_locked; in handleMutexHeldEndOfScope()
1369 PartialDiagnosticAt Warning(LocEndOfScope, S.PDiag(DiagID) << LockName); in handleMutexHeldEndOfScope()
1392 unsigned DiagID = POK == POK_VarAccess? in handleNoMutexHeld() local
1395 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) in handleNoMutexHeld()
1403 unsigned DiagID = 0; in handleMutexNotHeld() local
1407 DiagID = diag::warn_variable_requires_lock_precise; in handleMutexNotHeld()
1410 DiagID = diag::warn_var_deref_requires_lock_precise; in handleMutexNotHeld()
1413 DiagID = diag::warn_fun_requires_lock_precise; in handleMutexNotHeld()
1416 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) in handleMutexNotHeld()
1424 DiagID = diag::warn_variable_requires_lock; in handleMutexNotHeld()
1427 DiagID = diag::warn_var_deref_requires_lock; in handleMutexNotHeld()
1430 DiagID = diag::warn_fun_requires_lock; in handleMutexNotHeld()
1433 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) in handleMutexNotHeld()