Bug 3396

Summary: Размножение квалификатора метода класа const
Product: Sisyphus Reporter: Alexander Borovsky <borovskiye>
Component: indentAssignee: placeholder <placeholder>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P2 CC: glebfm, ldv, mike, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Alexander Borovsky 2003-12-22 07:30:10 MSK
Иногда 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.
Comment 1 Dmitry V. Levin 2003-12-29 00:20:51 MSK
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." 
Comment 2 Dmitry V. Levin 2005-12-12 01:48:35 MSK
Проект indent, похоже, не развивается в направлении поддержки C++.
Comment 3 Michael Shigorin 2014-11-24 11:55:25 MSK
apparently wontfix?