This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
A question on coding conventions
- From: "Levon Haykazyan" <levon at rock dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 26 Mar 2011 23:35:36 +0400
- Subject: A question on coding conventions
Hi everybody,
I was trying to configure vim to work better with gcc coding conventions.
When I set 'tab' symbol to be interpreted as 2 spaces, I noticed that a lot
of formatting in e.g. gcc/cp/parser.c was gone. A bit of research showed
that in a lot of places 'tab' was used for 8 spaces. I've looked in gcc and
gnu coding conventions but didn't find anything about this. So my question
is whether such usage of 'tab' symbol is recommended by coding conventions
or 8 spaces should be used instead.
Kind regards,
Levon
--
You Rock! Your E-Mail Should Too! Signup Now at Rock.com and get 2GB of Storage!
http://connections.rock.com/user/displayUserRegisterPage.kickAction?as=116748&STATUS=MAIN