[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 306776] New: Declared class members should be put at correct position when the usage is in init
From: Rolf Eike Beer <kde () opensource ! sf-tec ! de>
Date: 2012-09-14 6:12:37
Message-ID: bug-306776-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=306776
Bug ID: 306776
Severity: normal
Version: 4.3.1
Priority: NOR
Assignee: kdevelop-bugs@kdevelop.org
Summary: Declared class members should be put at correct
position when the usage is in initializer list
Classification: Unclassified
OS: Linux
Reporter: kde@opensource.sf-tec.de
Hardware: Other
Status: NEW
Component: code completion
Product: kdevelop
Guess I have this class:
class foo {
...
int bar;
int baz;
}
foo::foo()
: bar(0),
baz(0)
{}
Now I place the cursor at the beginning of the baz line and use some previously
undeclared variable and use KDevelops offer to add a declaration. The variable
should then be added exactly between bar and baz in the header because
otherwise I would get a warning about wrong initialization order anyway.
Reproducible: Always
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic