Bug 415012 - Explore Macro Expansion does not work for empty expansion in some cases
Summary: Explore Macro Expansion does not work for empty expansion in some cases
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 21:17 EDT by Nathan Ridge CLA
Modified: 2020-09-04 15:18 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Ridge CLA 2013-08-13 21:17:24 EDT
In the following code:

#define FOO(x)
FOO(0);

Explore Macro Expansion does not work if the cursor is somewhere in the 'FOO' call, or if a subset of 'FOO' is selected. It does work if the entire 'FOO' is selected.

If the semicolon is removed, it works in all cases as expected.