[bt-devel] C++ indenting
Joachim Ansorg
nospam+bt-devel at joachim-ansorg.de
Thu Aug 18 09:44:27 MST 2005
Hi,
> > does somebody know a indent like program for C++ code?
> > I tried indent and found some bugs which make it unusable, e.g. it turns
> > bool f() const {}
> > into
> > bool f() const const {}
>
> Trying to do them all in batch, eh?
Yes, I want to do that :)
> I've been using emacs for indenting. I think emacs has a batch mode of
> operations as well.
Hm, emacs for indenting ;)
What is a command line to indent a file?
> On the same subject -- what is the formatting policy for BT? I personally
> prefer linux-style with tabs (allowing people to customize how tabs are
> displayed).
Hm, I trying to find that out =)
Basically it is K&R with some changes like tabs enabled and several other
indent params. The problem is now, that indent doesn't work and isn't
maintained any more.
Joachim
More information about the bt-devel
mailing list