Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344604 - Hyperlink on arguments inside macro function call underlines all the call
Summary: Hyperlink on arguments inside macro function call underlines all the call
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Marc-André Laperle CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 12:09 EDT by Marc-André Laperle CLA
Modified: 2011-05-04 02:23 EDT (History)
1 user (show)

See Also:


Attachments
CElementHyperLink Macro function args, patch + test (5.67 KB, patch)
2011-05-04 01:36 EDT, Marc-André Laperle CLA
malaperle: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2011-05-03 12:09:04 EDT
Example:

#define Foo(a) bar(a)

int main() {
    int test;
    Foo(test);
    return 0;
}

Hold Ctrl and hover on the second 'test'. 'Foo(test)' is underlined. 

However, when clicking it opens the declaration of 'test' correctly.
Comment 1 Marc-André Laperle CLA 2011-05-04 01:36:21 EDT
Created attachment 194664 [details]
CElementHyperLink Macro function args, patch + test
Comment 2 Marc-André Laperle CLA 2011-05-04 01:45:59 EDT
Fixed in HEAD.