[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 292262] New: Source formatter doesn't handle C++11 ranged for loops properly
From: Chris Clearwater <chris () detrino ! org>
Date: 2012-01-23 11:13:55
Message-ID: bug-292262-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=292262
Summary: Source formatter doesn't handle C++11 ranged for loops
properly
Product: kdevelop
Version: git master
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: all editors
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: chris@detrino.org
Version: git master (using KDE 4.7.3)
OS: Linux
See reproducability
Reproducible: Didn't try
Steps to Reproduce:
The following code is entered into a cpp file:
#include <vector>
int main(void)
{
std::vector<bool> v;
for (auto x : v) {}
for (;;) {}
return 0;
}
Then run "Edit->Reformat Source"
Actual Results:
The C++11 ranged for is placed at the beginning of the line while the
traditional for is properly indented
Expected Results:
For both for statements to be properly indented
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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