| 235 | } |
| 236 | |
| 237 | TemplateSimplifier::TokenAndName::~TokenAndName() |
| 238 | { |
| 239 | if (mToken && mToken->templateSimplifierPointers()) |
| 240 | mToken->templateSimplifierPointers()->erase(this); |
| 241 | } |
| 242 | |
| 243 | std::string TemplateSimplifier::TokenAndName::dump(const std::vector<std::string>& fileNames) const { |
| 244 | std::string ret = " <TokenAndName name=\"" + ErrorLogger::toxml(mName) + "\" file=\"" + ErrorLogger::toxml(fileNames.at(mToken->fileIndex())) + "\" line=\"" + std::to_string(mToken->linenr()) + "\">\n"; |