[llvm] r231473 - CodingStyle: Allow delegating ctors

David Blaikie dblaikie at gmail.com
Fri Mar 6 08:15:34 PST 2015


On Fri, Mar 6, 2015 at 5:46 AM, Benjamin Kramer <benny.kra at googlemail.com>
wrote:

> Author: d0k
> Date: Fri Mar  6 07:46:50 2015
> New Revision: 231473
>
> URL: http://llvm.org/viewvc/llvm-project?rev=231473&view=rev
> Log:
> CodingStyle: Allow delegating ctors
>
> Delegating constructors seem to work fine with all supported compilers.
>

Awesome - thanks for checking/using them!


>
> Modified:
>     llvm/trunk/docs/CodingStandards.rst
>
> Modified: llvm/trunk/docs/CodingStandards.rst
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.rst?rev=231473&r1=231472&r2=231473&view=diff
>
> ==============================================================================
> --- llvm/trunk/docs/CodingStandards.rst (original)
> +++ llvm/trunk/docs/CodingStandards.rst Fri Mar  6 07:46:50 2015
> @@ -130,6 +130,7 @@ unlikely to be supported by our host com
>    * But not defaulted move constructors or move assignment operators,
> MSVC 2013
>      cannot synthesize them.
>  * Initializer lists: N2627_
> +* Delegating constructors: N1986_
>
>  .. _N2118:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html
>  .. _N2439:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm
> @@ -154,6 +155,7 @@ unlikely to be supported by our host com
>  .. _N2437:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf
>  .. _N2346:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm
>  .. _N2627:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm
> +.. _N1986:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf
>  .. _MSVC-compatible RTTI: http://llvm.org/PR18951
>
>  The supported features in the C++11 standard libraries are less well
> tracked,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150306/e5d30633/attachment.html>


More information about the llvm-commits mailing list