[PATCH] D16310: new clang-tidy checker misc-long-cast

Daniel Marjamäki via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 25 02:46:00 PST 2016

danielmarjamaki marked 3 inline comments as done.

Comment at: docs/clang-tidy/checks/misc-long-cast.rst:11
@@ +10,3 @@
+Example code::
alexfh wrote:
> LegalizeAdulthood wrote:
> > Please add an example for another type other than `long`, such as casting a `float` expression to a `double`.
> Is the use of two colons intended?
The use of two colons is intended. When I look at the output here: http://rst.ninjs.org/  it will say "System Message: WARNING/2 (<string>, line 15)" if I use a single colon. If you have a different tool to look at rst that I should use let me know.



More information about the cfe-commits mailing list