We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f624f6f commit 67f0301Copy full SHA for 67f0301
1 file changed
lib/tokenize.cpp
@@ -7905,7 +7905,7 @@ void Tokenizer::simplifyEnum()
7905
}
7906
7907
namespace {
7908
- const std::set<std::string> f = make_container< std::set<std::string> > () <<
+ const std::set<std::string> stdFunctionsPresentInC = make_container< std::set<std::string> > () <<
7909
"strcat" <<
7910
"strcpy" <<
7911
"strncat" <<
@@ -7925,7 +7925,7 @@ void Tokenizer::simplifyStd()
7925
continue;
7926
7927
if (Token::Match(tok->previous(), "[(,{};] std :: %name% (") &&
7928
- f.find(tok->strAt(2)) != f.end()) {
+ stdFunctionsPresentInC.find(tok->strAt(2)) != stdFunctionsPresentInC.end()) {
7929
tok->deleteNext();
7930
tok->deleteThis();
7931
0 commit comments