sylvestre.ledru added a comment.

I will rename it before the upload if that is fine with you.



================
Comment at: unittests/Format/check-coding-style-mozilla.cpp:77
+    return mVar;
+  } // Tiny functions can be written in a single line.
+
----------------
krasimir wrote:
> Note that here the trailing comment will make a version of `TinyFunction` on 
> a single line exceed the line limit.
> If the comment is put before the definition of `TinyFunction`, it could 
> really be made tiny, as in:
> ```
>   // Tiny functions can be written in a single line.
>   int TinyFunction() { return mVar; }
> ```
I will remove it for now. I will add it once we have the capability in 
clang-format


https://reviews.llvm.org/D30111



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

Reply via email to