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
 Rename doesn't find const symbol
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

steve_dercks
Junior Member

USA
17 Posts

Posted - Oct 16 2009 :  08:43:31 AM  Show Profile  Reply with Quote
In the following test piece of code.....

#ifndef SIMPLE_H
#define SIMPLE_H

class Simple
{
public:
Simple();
~Simple();

Simple(const Simple &);
protected:

private:
};

#endif

Now try Renaming Simple. Only four instances are found. The (const Simple &) is not found. If you remove the const qualifier, it works ok.


VA_X.dll file version 10.5.1738.0 built 2009.10.01
Licensed to:
VA X: [email protected] (1-user license) Support ends 2009.12.19
MSDev.exe version 6.0.9782.1
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.81.4968.2500
Windows 2000 5.0 Build 2195 Service Pack 4
Single processor (x86)

Platform: Win32 (x86)
Stable Includes:
C:\\PROGRAM FILES\\MICROSOFT VISUAL STUDIO .NET 2003\\VC7\\PLATFORMSDK\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
C:\\PROGRAM FILES\\COMMON FILES\\SYSTEM\\ADO;
C:\\POET61\\INC;
D:\\SDEV\\LORAMINC;
D:\\SDEV\\LORAMINCPOET;
D:\\SDEV\\MCL\\INCLUDE;
C:\\PROESSENTIALS5\\VC;
D:\\SDEV\\NLREG;

Other Includes:

Stable Source Directories:
D:\\SDEV\\LORAMSRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;


Edited by - steve_dercks on Oct 19 2009 3:33:43 PM

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 19 2009 :  3:45:13 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=3027

This is actually caused by the lack of a parameter name. I know you don't need one here, but if you change the problem line to read:

Simple(const Simple &rhs);

then VA will find the correct number of references.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Nov 12 2010 :  3:36:02 PM  Show Profile  Reply with Quote
case=3027 is fixed in build 1836

Whole Tomato Software, Inc.
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