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