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

List:       kdevelop-bugs
Subject:    [Bug 285060] New: Cpp-parser does not understand 'override' keyword,
From:       <nikolay.derevyanko () gmail ! com>
Date:       2011-10-27 4:19:29
Message-ID: bug-285060-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Cpp-parser does not understand 'override' keyword, nor
                    there's any way to work it around
           Product: kdevelop
           Version: 4.2.3
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: cpp-parser
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: nikolay.derevyanko@gmail.com


Version:           4.2.3 (using KDE 4.7.1) 
OS:                Linux

For those compilers that don't understand 'override' I undefine it by passing
-Doverride in command line. I haven't found any option to pass any
configuration to cpp-parser. Could you guys please add support for 'override'?
I would be nice if you gave a way to configure cpp-parser as well.

Reproducible: Didn't try

Steps to Reproduce:
paste this into your class declaration:


    virtual int GetInt() const override { return 1; }


Actual Results:  
all the symbols in a file containing 'override' are not visible to KDevelop.

Expected Results:  
obviously it should work and index the file as usual

OS: Linux (x86_64) release 3.0.0-12-generic
Compiler: gcc

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