Bug 299311 - Rename assistant won't show up if certain macros are used
Summary: Rename assistant won't show up if certain macros are used
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: git master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 17:14 UTC by Alexander Shaduri
Modified: 2023-01-18 09:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Shaduri 2012-05-03 17:14:03 UTC
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.
Comment 1 Andrew Crouthamel 2018-11-11 04:22:49 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-21 04:38:35 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Alexander 2018-11-21 08:51:53 UTC
I no longer use KDevelop so I cannot re-test this, sorry.
Comment 4 Justin Zobel 2023-01-18 02:40:51 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Alexander 2023-01-18 09:55:51 UTC
I no longer use the software, but AFAIK oldcpp is unmaintained anyway, so I'm closing this bug.