klimek added inline comments.
Herald added a subscriber: acoomans.

================
Comment at: lib/Format/TokenAnnotator.cpp:627
     }
+    if(Style.BraceWrapping.BeforeLambdaBody && Current->is(TT_LambdaLSquare)) {
+        ++Left->BlockParameterCount;
----------------
Why do we want to increase the parameter count here? Specifically, why is it 
not enough to || this condition to the first is in the function?


Repository:
  rC Clang

https://reviews.llvm.org/D44609



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

Reply via email to