How my codes comply with gcc code formatting?
lin zuojian
manjian2006@gmail.com
Wed Mar 5 06:36:00 GMT 2014
On Wed, Mar 05, 2014 at 07:28:35AM +0100, Marek Polacek wrote:
> On Wed, Mar 05, 2014 at 11:31:59AM +0800, lin zuojian wrote:
> > Hi,
> > I have summited a patch in this ml.But the difficult part may be the
> > code formatting.I am using vim as my editor.
>
> I'm not sure what you asking for here. But to learn how to format
> your code, I think just look at the GCC source code and model your
> code after that.
>
> Marek
Hi Marek,
I am not understanding the standard.For example,should I use \t
instead of space?Should I use 4 spaces as indent or 2?
--
Regards
lin zuojian
More information about the Gcc-patches
mailing list