klimek added inline comments.

================
Comment at: lib/Format/UnwrappedLineParser.cpp:1324
+  nextToken();
+  if (!Style.isCpp()) {
+    // Blocks are only supported in C++ and Objective-C.
----------------
benhamilton wrote:
> Style: Remove curly braces for one-line if blocks.
> 
Isn't this only an Obj-C/Obj-C++ thing?
If it is, I'd call it tryToParseObjCBlockLiteral.


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

https://reviews.llvm.org/D40221



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

Reply via email to