[PATCH] Introducing initial UseAuto transform

Dmitri Gribenko gribozavr at gmail.com
Mon Feb 11 12:33:40 PST 2013



================
Comment at: cpp11-migrate/UseAuto/UseAuto.h:27
@@ +26,3 @@
+/// In addition to being used as the type specifier for variable declarations
+/// auto can be used in these ways (c++11 ยง7.1.6.4.2):
+/// * With functions with trailing return type
----------------
Edwin Vane wrote:
> Dmitri Gribenko wrote:
> > Sean Silva wrote:
> > > avoid non-ascii characters
> > And please use textual references, like [dcl.spec.auto] p2.
> Ok. Is there a style to follow with spec references? If I say [dcl.spec.auto] p2 it's assumed I'm talking about the C++ spec?
There is no documented style, but "C++11 [foo.bar] p1" is the de-facto style.



http://llvm-reviews.chandlerc.com/D392



More information about the cfe-commits mailing list