<div class="gmail_quote">On Fri, Oct 21, 2011 at 1:51 PM, DeLesley Hutchins <span dir="ltr"><<a href="mailto:delesley@google.com">delesley@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":4za">- // destructors not implemented yet...<br>
- Foo foo; // \<br>
- // expected-warning {{mutex 'fooMu' is still locked at the end of function}}<br>
+ Foo foo;</div></blockquote></div><br><div>It would be good to add more coverage to this test. For example, currently if I disable both the constructor and destructor processing, the test still passes. Can we cause some warnings to be emitted as well, and the lock to actually be used?</div>
<div><br></div><div>Maybe reference a guarded variable, and call a function with a different set of required locks?</div>