| 907 | |
| 908 | |
| 909 | bool polyspace::isPolyspaceComment(const std::string &comment) |
| 910 | { |
| 911 | const std::string polyspace = "polyspace"; |
| 912 | const std::string::size_type pos = comment.find_first_not_of("/* "); |
| 913 | if (pos == std::string::npos) |
| 914 | return false; |
| 915 | return comment.compare(pos, polyspace.size(), polyspace, 0, polyspace.size()) == 0; |
| 916 | } |