================ @@ -4039,6 +4043,17 @@ def warn_acquired_before : Warning< def warn_acquired_before_after_cycle : Warning< "cycle in acquired_before/after dependencies, starting with '%0'">, InGroup<ThreadSafetyAnalysis>, DefaultIgnore; +def warn_unmatched_underlying_mutexes : Warning< + "%0 managed by '%1' is '%3' instead of '%2'">, + InGroup<ThreadSafetyAnalysis>, DefaultIgnore; +def warn_expect_more_underlying_mutexes : Warning< + "%0 '%2' not managed by '%1'">, + InGroup<ThreadSafetyAnalysis>, DefaultIgnore; +def warn_expect_fewer_underlying_mutexes : Warning< + "did not expect %0 '%2' to be managed by '%1'">, + InGroup<ThreadSafetyAnalysis>, DefaultIgnore; ---------------- AaronBallman wrote:
Should these really be `DefaultIgnore`? In all of these cases, it seems like users would want to know about the problems? https://github.com/llvm/llvm-project/pull/110523 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits