Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Odd Find References results
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DrunkGoblin
Starting Member

1 Posts

Posted - May 11 2010 :  12:16:41 PM  Show Profile  Reply with Quote
Using 10.6.1822 on VS2010.
In this code snippet:

struct Test
{
int someint;
int someotherint;
};

#define MACRO_TEST(a) \ someint = a; \ someotherint = a;

#define MACRO_TEST2(b) \ someint = a;

void main()
{
Test t;
t.someint = 10;
}


Find References and Rename both include the variables used in macros in their list when searching for a respective struct member variable. Is this by design?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 12 2010 :  2:13:42 PM  Show Profile  Reply with Quote
There is a change request to use question mark icon for references in defines and to not tick these references by default in rename dialog:

case=9860
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 25 2013 :  12:18:43 PM  Show Profile  Reply with Quote
case=9860 is fixed in build 1929
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000