Lines Matching refs:Warning
1522 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << Kind << LockName); in warnLockMismatch() local
1523 Warnings.emplace_back(std::move(Warning), getNotes()); in warnLockMismatch()
1547 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_cannot_resolve_lock) in handleInvalidLockExp() local
1549 Warnings.emplace_back(std::move(Warning), getNotes()); in handleInvalidLockExp()
1562 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_unlock_kind_mismatch) in handleIncorrectUnlockKind() local
1565 Warnings.emplace_back(std::move(Warning), getNotes()); in handleIncorrectUnlockKind()
1594 PartialDiagnosticAt Warning(LocEndOfScope, S.PDiag(DiagID) << Kind in handleMutexHeldEndOfScope() local
1599 Warnings.emplace_back(std::move(Warning), getNotes(Note)); in handleMutexHeldEndOfScope()
1602 Warnings.emplace_back(std::move(Warning), getNotes()); in handleMutexHeldEndOfScope()
1608 PartialDiagnosticAt Warning(Loc1, in handleExclusiveAndShared() local
1613 Warnings.emplace_back(std::move(Warning), getNotes(Note)); in handleExclusiveAndShared()
1624 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) in handleNoMutexHeld() local
1626 Warnings.emplace_back(std::move(Warning), getNotes()); in handleNoMutexHeld()
1652 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << Kind in handleMutexNotHeld() local
1661 Warnings.emplace_back(std::move(Warning), getNotes(Note, VNote)); in handleMutexNotHeld()
1663 Warnings.emplace_back(std::move(Warning), getNotes(Note)); in handleMutexNotHeld()
1682 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << Kind in handleMutexNotHeld() local
1689 Warnings.emplace_back(std::move(Warning), getNotes(Note)); in handleMutexNotHeld()
1691 Warnings.emplace_back(std::move(Warning), getNotes()); in handleMutexNotHeld()
1697 PartialDiagnosticAt Warning(Loc, in handleNegativeNotHeld() local
1700 Warnings.emplace_back(std::move(Warning), getNotes()); in handleNegativeNotHeld()
1705 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_fun_excludes_mutex) in handleFunExcludesLock() local
1707 Warnings.emplace_back(std::move(Warning), getNotes()); in handleFunExcludesLock()
1712 PartialDiagnosticAt Warning(Loc, in handleLockAcquiredBefore() local
1714 Warnings.emplace_back(std::move(Warning), getNotes()); in handleLockAcquiredBefore()
1718 PartialDiagnosticAt Warning(Loc, in handleBeforeAfterCycle() local
1720 Warnings.emplace_back(std::move(Warning), getNotes()); in handleBeforeAfterCycle()
1762 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_loop_state_mismatch) << in warnLoopStateMismatch() local
1765 Warnings.emplace_back(std::move(Warning), OptionalNotes()); in warnLoopStateMismatch()
1773 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnParamReturnTypestateMismatch() local
1777 Warnings.emplace_back(std::move(Warning), OptionalNotes()); in warnParamReturnTypestateMismatch()
1783 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnParamTypestateMismatch() local
1786 Warnings.emplace_back(std::move(Warning), OptionalNotes()); in warnParamTypestateMismatch()
1791 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnReturnTypestateForUnconsumableType() local
1794 Warnings.emplace_back(std::move(Warning), OptionalNotes()); in warnReturnTypestateForUnconsumableType()
1800 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnReturnTypestateMismatch() local
1803 Warnings.emplace_back(std::move(Warning), OptionalNotes()); in warnReturnTypestateMismatch()
1809 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnUseOfTempInInvalidState() local
1812 Warnings.emplace_back(std::move(Warning), OptionalNotes()); in warnUseOfTempInInvalidState()
1818 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_use_in_invalid_state) << in warnUseInInvalidState() local
1821 Warnings.emplace_back(std::move(Warning), OptionalNotes()); in warnUseInInvalidState()