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

Method getOrigFile

lib/tokenlist.cpp:2049–2052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2047}
2048
2049std::string TokenList::getOrigFile(const Token *tok) const
2050{
2051 return mOrigFiles.at(tok->fileIndex());
2052}
2053
2054const std::string& TokenList::file(const Token *tok) const
2055{

Callers 5

FileLocationConstructMethod · 0.45
FileLocationSetFileMethod · 0.45
FileLocationSetFile2Method · 0.45
FromXmlV2Method · 0.45
SerializeFileLocationMethod · 0.45

Calls 2

atMethod · 0.80
fileIndexMethod · 0.80

Tested by 5

FileLocationConstructMethod · 0.36
FileLocationSetFileMethod · 0.36
FileLocationSetFile2Method · 0.36
FromXmlV2Method · 0.36
SerializeFileLocationMethod · 0.36