| 254 | } |
| 255 | |
| 256 | bool WriteAliasName(ostream_wrapper& out, const std::string& str) { |
| 257 | int codePoint; |
| 258 | for (std::string::const_iterator i = str.begin(); |
| 259 | GetNextCodePointAndAdvance(codePoint, i, str.end());) { |
| 260 | if (!IsAnchorChar(codePoint)) { |
| 261 | return false; |
| 262 | } |
| 263 | |
| 264 | WriteCodePoint(out, codePoint); |
| 265 | } |
| 266 | return true; |
| 267 | } |
| 268 | } // namespace |
| 269 | |
| 270 | StringFormat::value ComputeStringFormat(const std::string& str, |
no test coverage detected