NoQ added a comment.

No-no, recursive locks are much more complicated than that, please do them 
separately. You'll have to discriminate between a real double lock / double 
unlock bug and an actual valid use of the recursive mutex in order to emit any 
warnings at all. That's completely different checker logic.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85984/new/

https://reviews.llvm.org/D85984

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to