[PATCH] D50110: Handle shared release attributes correctly

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 2 13:34:03 PDT 2018


aaron.ballman added inline comments.


================
Comment at: test/SemaCXX/warn-thread-safety-analysis.cpp:4081-4085
+  void unlockExclusive() EXCLUSIVE_UNLOCK_FUNCTION(mu_) {
+    mu_.Unlock();
+  }
+
+  void unlockShared() SHARED_UNLOCK_FUNCTION(mu_) {
----------------
Nothing calls either of these functions within the test; is that intended?


Repository:
  rC Clang

https://reviews.llvm.org/D50110





More information about the cfe-commits mailing list