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

List:       kdevelop-bugs
Subject:    [Bug 282855] New: Don't resolve perprocessor statements when
From:       Barade <barade.barade () web ! de>
Date:       2011-09-26 19:23:48
Message-ID: bug-282855-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Don't resolve perprocessor statements when
                    implementing member functions
           Product: kdevelop
           Version: 4.2.3
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: code completion
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: barade.barade@web.de


Version:           4.2.3 (using KDE 4.7.1) 
OS:                Linux

Preprocessor statements like BOOST_SCOPED_ENUM should not be resolved (which
makes them useless) when implementing a member function.

Reproducible: Always

Steps to Reproduce:
class Bla
{
BOOST_SCOPED_ENUM_START(MyEnum)
{
Peter,
Hans
};
BOOST_SCOPED_ENUM_END

void test(BOOST_SCOPED_ENUM(MyEnum) value);
};

// When implemting Bla::test BOOST_SCOPED_ENUM will be resolved to:
void Bla::test(MyEnum::enum_t value)
{
}


Expected Results:  
It should stay:

void Bla::test(BOOST_SCOPED_ENUM(MyEnum) value)
{
}

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