aaronpuchert added inline comments.

================
Comment at: lib/Analysis/ThreadSafety.cpp:932
+      // We're relocking the underlying mutexes. Warn on double locking.
+      if (FSet.findLock(FactMan, UnderCp))
+        Handler.handleDoubleLock(DiagKind, UnderCp.toString(), entry.loc());
----------------
delesley wrote:
> Minor nit.  Use curly braces on the if, to match the else.
Removing the braces [was 
suggested](https://reviews.llvm.org/D49885?id=157599#inline-439256) by 
@aaron.ballman in an earlier patch set, but I can just add them in again. I 
slightly favor having them, but I don't feel strongly either way.


Repository:
  rL LLVM

https://reviews.llvm.org/D49885



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

Reply via email to