[Bug 81586] New: Incorrect formatting of classes with inline functions
Chris Jefferson
caj at cs.york.ac.uk
Sun May 16 14:05:46 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=81586
Summary: Incorrect formatting of classes with inline functions
Product: kdevelop
Version: 3.0.3
Platform: Mandrake RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kdevelop-devel kdevelop org
ReportedBy: caj cs york ac uk
Version: 3.0.3 (using KDE KDE 3.2.2)
Installed from: Mandrake RPMs
OS: Linux
I'm suprised this doesn't seem to be in the database. Maybe I couldn't find it..
When formatting with ANSI or K&R, when an inline function is the last thing in a class definiton the final semi-colon is placed on a line by itself.
Example:
class a
{
int b(int x)
{}
int i;
};
But remove the int i...
class a
{
int b(int x)
{}
}
;
Also, in K&R:
class a {
int b(int x) {}
int i;
};
but
class a {
int b(int x) {}
}
;
Any chance of getting rid of this annoying slippery bugger?
More information about the KDevelop-devel
mailing list