[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 299311] New: Rename assistant won't show up if certain macros are used
From: Alexander Shaduri <ashaduri () yandex ! ru>
Date: 2012-05-03 17:14:03
Message-ID: bug-299311-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=299311
Bug ID: 299311
Severity: normal
Version: git master
Priority: NOR
Assignee: kdevelop-bugs@kdevelop.org
Summary: Rename assistant won't show up if certain macros are
used
Classification: Unclassified
OS: Linux
Reporter: ashaduri@yandex.ru
Hardware: openSUSE RPMs
Status: UNCONFIRMED
Component: Language Support: CPP
Product: kdevelop
I'm using KDevelop git master from 2012-05-03.
Try the following code:
#include <cassert>
#define ASSERT(a) assert(a)
void func()
{
int abc = 0;
abc++;
assert(abc);
ASSERT(abc); // if this is commented, the assistant shows up
}
Try to change the name of abc on the "int abc = 0;" line. The rename assistant
should pop up, but it does not. Now comment the "ASSERT(abc);" and try again.
Suddenly it works. The strange thing is that both assert() and ASSERT() are
macros, but one works and the other breaks the assistant.
Thanks
Reproducible: Always
Steps to Reproduce:
Try the code above.
Actual Results:
-
Expected Results:
-
openSUSE 12.1 x86-64.
--
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