aaronpuchert added inline comments.
================ Comment at: clang/test/SemaCXX/warn-thread-safety-analysis.cpp:4230-4236 +void testDeferredTemporary() { + SelfLockDeferred(); // expected-warning {{releasing mutex '<temporary>.mu_' that was not held}} +} + +void testDeferredTemporary2() { + SelfLockDeferred2(); // expected-warning {{releasing mutex '<temporary>' that was not held}} +} ---------------- Here we're printing `<temporary>`, because we don't have a name for this object. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129755/new/ https://reviews.llvm.org/D129755 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits