Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Rename doesn't find const symbol

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
steve_dercks Posted - Oct 16 2009 : 08:43:31 AM
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;

2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Nov 12 2010 : 3:36:02 PM
case=3027 is fixed in build 1836
feline Posted - Oct 19 2009 : 3:45:13 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000