summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testStringAlgorithms.cxx
Commit message (Collapse)AuthorAgeFilesLines
* iwyu: ignore `std::remove_reference` requirementsBen Boeckel2023-05-161-2/+1
| | | | This removes some includes from some existing files.
* Revise C++ coding style using clang-format-15Kitware Robot2023-01-181-1/+1
| | | | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Fixes: #24315
* cmStrCat(): allow any argument to be an rvalue stringKyle Edwards2022-12-061-4/+14
| | | | | This will allow us to re-use any rvalue allocation that is available, not just from the first argument.
* cmStrCat(): optimize when first argument is an rvalue stringKyle Edwards2022-11-301-0/+14
|
* cmStringAlgorithms: Add functions to parse strings to long long integersBrad King2022-09-201-0/+35
|
* cmStringAlgorithms: Add cmStrLen()Kyle Edwards2020-09-081-0/+10
|
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-2/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* cmstd: Modernize CMake system headersMarc Chevrier2019-09-201-1/+2
| | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
* Merge topic 'cmStringAlgorithms_ulong'Kyle Edwards2019-08-161-0/+35
|\ | | | | | | | | | | | | 935fbe0b04 cmStringAlgorithms: Add cmStrToLong and cmStrToULong Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3681
| * cmStringAlgorithms: Add cmStrToLong and cmStrToULongSebastian Holtermann2019-08-101-0/+35
| | | | | | | | | | | | | | | | This adds the following functions to cmStringAlgorithms: - `cmStrToLong`: moved from `cmSystemTools::StringToLong` - `cmStrToULong`: moved from `cmSystemTools::StringToULong` Overloads of the given functions for `std::string` are added as well.
* | cmStringAlgorithms: Add cmRemoveQuotesSebastian Holtermann2019-08-091-0/+23
|/ | | | | - Add `cmRemoveQuotes` function to cmStringAlgorithms - Remove unused removeQuotes inline functions
* Tests: testStringAlgorithms: Add cmTrimWhitespace, cmEscapeQuotes, cmTokenizeSebastian Holtermann2019-08-051-0/+37
| | | | | Extend the testStringAlgorithms test with tests for `cmTrimWhitespace`, `cmEscapeQuotes` and `cmTokenize`.
* Tests: Add CMakeLib.testStringAlgorithms testSebastian Holtermann2019-08-011-0/+134