| 1437 | } |
| 1438 | |
| 1439 | std::string ClassCompiler::FileNameToGuardName(const std::string& fname) |
| 1440 | { |
| 1441 | std::string result = fname; |
| 1442 | std::locale locale; |
| 1443 | |
| 1444 | for (auto& ch : result) { |
| 1445 | ch = std::toupper(ch, locale); |
| 1446 | |
| 1447 | if (ch == '.') |
| 1448 | ch = '_'; |
| 1449 | } |
| 1450 | |
| 1451 | return result; |
| 1452 | } |
| 1453 | |
| 1454 | void ClassCompiler::CompileStream(const std::string& path, std::istream& input, |
| 1455 | std::ostream& oimpl, std::ostream& oheader) |
nothing calls this directly
no outgoing calls
no test coverage detected