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

Method simplifyTemplates

lib/tokenize.cpp:4253–4261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4251}
4252
4253void Tokenizer::simplifyTemplates()
4254{
4255 if (isC())
4256 return;
4257
4258 const std::time_t maxTime = mSettings.templateMaxTime > 0 ? std::time(nullptr) + mSettings.templateMaxTime : 0;
4259 mTemplateSimplifier->simplifyTemplates(
4260 maxTime);
4261}
4262//---------------------------------------------------------------------------
4263
4264

Callers

nothing calls this directly

Calls 1

isCFunction · 0.70

Tested by

no test coverage detected