[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 276060] New: kdevelop 4.2.2 parses arguments of functions
From: Ambroz Bizjak <ambrop7 () gmail ! com>
Date: 2011-06-19 15:47:46
Message-ID: bug-276060-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=276060
Summary: kdevelop 4.2.2 parses arguments of functions declared
via macros in reverse
Product: kdevelop
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Language Support: CPP
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: ambrop7@gmail.com
Version: unspecified (using KDE 4.6.4)
OS: Linux
Reproducible: Always
Steps to Reproduce:
1. Type this into a file:
#define DECLARE_FOO void foo (int a, int b, int c);
DECLARE_FOO
void bar (void)
{
foo(1, 2);
}
2. Hover over the 'foo' call within the 'bar' function.
Actual Results:
A popup shows up saying:
void foo( int c, int b, int a )
That is, the arguments are reversed.
Expected Results:
The popup should say:
void foo( int a, int b, int b )
If 'foo' is defined directly (without a macro), the arguments are right.
--
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