Иногда indent (v. 2.2.9-alt2) размножает const. Например: //test A.cpp class A { public: void tst () const; }; void A::tst () const { int i = 0; } int main () { return 0; } $indent A.cpp Steps to Reproduce: 1. Write A.cpp 2. $indent 3.
According to indent(1), it is for C code only, and "While an attempt was made to get indent working for C++, it will not do a good job on any C++ source except the very simplest."
Проект indent, похоже, не развивается в направлении поддержки C++.
apparently wontfix?