Bug 3396 - Размножение квалификатора метода класа const
Summary: Размножение квалификатора метода класа const
Alias: None
Product: Sisyphus
Classification: Development
Component: indent (show other bugs)
Version: unstable
Hardware: all Linux
: P2 enhancement
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
Depends on:
Reported: 2003-12-22 07:30 MSK by Alexander Borovsky
Modified: 2014-11-24 11:55 MSK (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Borovsky 2003-12-22 07:30:10 MSK
Иногда indent (v. 2.2.9-alt2) размножает const. Например:
//test A.cpp
class A
	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
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?