| 203 | } |
| 204 | |
| 205 | void CGenerator::parseSubtemplates() |
| 206 | { |
| 207 | string templateName = "cpp_coders"; |
| 208 | try |
| 209 | { |
| 210 | parse(kCppCoders, m_templateData); |
| 211 | templateName = "cpp_common_functions"; |
| 212 | parse(kCppCommonFunctions, m_templateData); |
| 213 | } |
| 214 | catch (TemplateException &e) |
| 215 | { |
| 216 | throw TemplateException(format_string("Template %s: %s", templateName.c_str(), e.what())); |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | DataType *CGenerator::findChildDataType(set<DataType *> &dataTypes, DataType *dataType) |
| 221 | { |
nothing calls this directly
no test coverage detected