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