[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 285948] New: C++11 support
From:       Michael <garrappachc () gmail ! com>
Date:       2011-11-06 23:43:44
Message-ID: bug-285948-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=285948

           Summary: C++11 support
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Language Support: CPP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: garrappachc@gmail.com


Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

Hi,
as the new C++ standard - known as C++11 - was recently published, I (and many
others, I suppose) would love to have the new syntax properly highlighted and
background-parsed. It is sometimes confusing, because I don't know if it is my
mistake or just the KDevelop parsing misunderstanding, especially lambdas or
range-based for-loops.

Reproducible: Always

Steps to Reproduce:
Try this code:

int myints[] = {1, 2, 3, 4};
for (int& x: myints) cout << x;

or this:
class myclass {
private:
  int myints[4];
public:
  myclass() : myints({1, 2, 3, 4}) {}
};

Actual Results:  
It is not highlighted properly, nor parsed.

Expected Results:  
Should be highlighted like a normal for-loop.

There are a lot of new expressions introduced into C++, such as nullptr,
constexpr, extended initializer lists or lambda...

-- 
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