MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / simplifyTypedefInsertToken

Function simplifyTypedefInsertToken

lib/tokenize.cpp:1174–1180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1172}
1173
1174static Token* simplifyTypedefInsertToken(Token* tok, const std::string& str, const Token* location) {
1175 tok = tok->insertToken(str);
1176 tok->linenr(location->linenr());
1177 tok->column(location->column());
1178 tok->isSimplifiedTypedef(true);
1179 return tok;
1180}
1181
1182// TODO: rename - it is not C++ specific
1183void Tokenizer::simplifyTypedefCpp()

Callers 1

simplifyTypedefCppMethod · 0.85

Calls 2

insertTokenMethod · 0.80
columnMethod · 0.80

Tested by

no test coverage detected