| 355 | /** Returns true if string @a str ends with string @a suffix. */ |
| 356 | template <size_t N> |
| 357 | inline bool cmHasLiteralSuffix(cm::string_view str, char const (&suffix)[N]) |
| 358 | { |
| 359 | return cmHasSuffix(str, cm::string_view(suffix, N - 1)); |
| 360 | } |
| 361 | |
| 362 | /** Removes an existing suffix character of from the string @a str. */ |
| 363 | inline void cmStripSuffixIfExists(std::string& str, char suffix) |
searching dependent graphs…