-
- Downloads
Reduce raw string pointers usage.
* Change some functions to take `std::string` instead of `const char*` in the following classes: `cmMakeFile`, `cmake`, `cmCoreTryCompile`, `cmSystemTools`, `cmState`, `cmLocalGenerator` and a few others. * Greatly reduce using of `const char*` overloads for `cmSystemTools::MakeDirectory` and `cmSystemTools::RelativePath`. * Remove many redundant `c_str()` conversions throughout the code.
Showing
- Source/CPack/cmCPackArchiveGenerator.cxx 1 addition, 2 deletionsSource/CPack/cmCPackArchiveGenerator.cxx
- Source/CPack/cmCPackGenerator.cxx 6 additions, 8 deletionsSource/CPack/cmCPackGenerator.cxx
- Source/CPack/cmCPackNSISGenerator.cxx 5 additions, 7 deletionsSource/CPack/cmCPackNSISGenerator.cxx
- Source/CPack/cpack.cxx 1 addition, 1 deletionSource/CPack/cpack.cxx
- Source/CTest/cmCTestBuildAndTestHandler.cxx 3 additions, 3 deletionsSource/CTest/cmCTestBuildAndTestHandler.cxx
- Source/CTest/cmCTestBuildHandler.cxx 1 addition, 1 deletionSource/CTest/cmCTestBuildHandler.cxx
- Source/CTest/cmCTestConfigureCommand.cxx 1 addition, 1 deletionSource/CTest/cmCTestConfigureCommand.cxx
- Source/CTest/cmCTestCoverageHandler.cxx 10 additions, 10 deletionsSource/CTest/cmCTestCoverageHandler.cxx
- Source/CTest/cmCTestGIT.cxx 6 additions, 6 deletionsSource/CTest/cmCTestGIT.cxx
- Source/CTest/cmCTestLaunch.cxx 4 additions, 6 deletionsSource/CTest/cmCTestLaunch.cxx
- Source/CTest/cmCTestMemCheckHandler.cxx 10 additions, 14 deletionsSource/CTest/cmCTestMemCheckHandler.cxx
- Source/CTest/cmCTestMultiProcessHandler.cxx 4 additions, 4 deletionsSource/CTest/cmCTestMultiProcessHandler.cxx
- Source/CTest/cmCTestRunTest.cxx 2 additions, 2 deletionsSource/CTest/cmCTestRunTest.cxx
- Source/CTest/cmCTestScriptHandler.cxx 10 additions, 10 deletionsSource/CTest/cmCTestScriptHandler.cxx
- Source/CTest/cmCTestSubmitCommand.cxx 1 addition, 1 deletionSource/CTest/cmCTestSubmitCommand.cxx
- Source/CTest/cmCTestSubmitHandler.cxx 6 additions, 6 deletionsSource/CTest/cmCTestSubmitHandler.cxx
- Source/CTest/cmCTestTestHandler.cxx 6 additions, 6 deletionsSource/CTest/cmCTestTestHandler.cxx
- Source/CTest/cmCTestUpdateHandler.cxx 7 additions, 7 deletionsSource/CTest/cmCTestUpdateHandler.cxx
- Source/CTest/cmCTestUploadCommand.cxx 1 addition, 1 deletionSource/CTest/cmCTestUploadCommand.cxx
- Source/CTest/cmCTestVC.cxx 1 addition, 1 deletionSource/CTest/cmCTestVC.cxx
Loading
Please register or sign in to comment