| 56 | static constexpr char ATTR_VALUE[] = "value"; |
| 57 | |
| 58 | std::string CTU::getFunctionId(const Tokenizer &tokenizer, const Function *function) |
| 59 | { |
| 60 | return tokenizer.list.file(function->tokenDef) + ':' + std::to_string(function->tokenDef->linenr()) + ':' + std::to_string(function->tokenDef->column()); |
| 61 | } |
| 62 | |
| 63 | CTU::FileInfo::Location::Location(const Tokenizer &tokenizer, const Token *tok) |
| 64 | : fileName(tokenizer.list.file(tok)) |