Skip to content

fixed Visual Studio warnings about shadowed members - #3191

Merged
danmar merged 1 commit into
cppcheck-opensource:mainfrom
firewave:vs-shadow
Mar 31, 2021
Merged

fixed Visual Studio warnings about shadowed members#3191
danmar merged 1 commit into
cppcheck-opensource:mainfrom
firewave:vs-shadow

Conversation

@firewave

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread lib/symboldatabase.cpp
const ::Type * type = base->classScope->findType(name);
if (type)
return type->classScope;
const ::Type * t = base->classScope->findType(name);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm. I have the feeling that it would be good if Cppcheck also warned about these.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add a ticket for this soon.

@danmar
danmar merged commit 9b974f1 into cppcheck-opensource:main Mar 31, 2021
@firewave
firewave deleted the vs-shadow branch March 31, 2021 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants