- Jan 23, 2025
-
-
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`, now with "east const" enforcement. Use `clang-format` version 18. * 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.
-
- Jan 18, 2023
-
-
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.
-
- Oct 25, 2021
-
-
Sean McBride authored
-
- May 08, 2020
-
-
Sean McBride authored
-
Sean McBride authored
-
- Mar 03, 2020
-
-
Hans Johnson authored
C++11 Range based for loops can be used in Used as a more readable equivalent to the traditional for loop operating over a range of values, such as all elements in a container, in the forward direction.. Range based loopes are more explicit for only computing the end location once for containers.
-
Hans Johnson authored
This check is responsible for using the auto type specifier for variable declarations to improve code readability and maintainability. The auto type specifier will only be introduced in situations where the variable type matches the type of the initializer expression. In other words auto should deduce the same type that was originally spelled in the source
-
- Mar 02, 2020
-
-
Hans Johnson authored
The emptiness of a container should be checked using the empty() method instead of the size() method. It is not guaranteed that size() is a constant-time function, and it is generally more efficient and also shows clearer intent to use empty(). Furthermore some containers may implement the empty() method but not implement the size() method. Using empty() whenever possible makes it easier to switch to another container in the future. cd run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,readability-container-size-empty -header-filter=.* -fix
-
- Sep 17, 2019
-
-
- Find/replace of KWSYS_NULLPTR with nullptr - Find/replace of NULL with nullptr - Manually fixed -Wzero-as-null-pointer-constant warnings - Careful review to fix some comments, string output, etc.
-
- May 31, 2018
-
-
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 6.0. * 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.
-
- Dec 21, 2017
-
-
When building with C++11 or greater, use the `nullptr` keyword.
-
- Oct 05, 2017
-
-
Matthias Männich authored
-
- May 06, 2017
-
-
Ben Boeckel authored
-
- Apr 17, 2017
-
-
Brad King authored
Move the implementation of `SystemTools::ConvertToWindowsExtendedPath` over to a new function in `Encoding`. It does not depend on other things `SystemTools` and will be useful in other KWSys components that already depend on `Encoding` but not `SystemTools`.
-
- Dec 02, 2016
-
-
The `std::string` and `std::wstring` types are allowed to contain null (`0`) bytes. Teach Encoding::{ToNarrow,ToWide} to preserve them. Change-Id: If9ddb77d275c1365016f2f1fa811d0c06e46d5f2
-
- Nov 04, 2016
-
-
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 3.8. * 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. Change-Id: Ie3aedc03bfe5c3999d4a077fafb8c6f3bbffc5c5
-
Brad King authored
Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace KWSys per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing#kwsys". Run the `filter-notices.bash` script to perform the replacements mechanically. Manually fix up the shebang line in one file. Change-Id: I8497f7c868664dcf54a8608ab302ad93c860b334
-
Brad King authored
The clang-format tool sorts `#include` lines within contiguous blocks. Separate blocks with blank lines and sort the include lines within them so that clang-format does not re-order anything. Change-Id: I96d6828f470b9a234464972172d46afab322487c
-
- Mar 22, 2016
-
-
Ben Boeckel authored
_WIN32 is the actual define for Windows. WIN32 is a CMake-ism. Change-Id: Iea9f69ab1719325703a3c9a6cacdd6ecf13dbc34
-
- Aug 28, 2015
-
-
Brad King authored
Use the standard headers and namespace instead. We no longer support compilers without them. Change-Id: Iafb19d28462e9302df06eecc8ae42b48a9577a21
-
- Dec 19, 2013
-
-
Clinton Stimpson authored
Change-Id: Ifda279df9a68872cf16e580274dff534f6cfd855
-
Change-Id: I96564a95f1ee6111edc58bdd85a933ace7502a73
-
- Oct 31, 2013
-
-
Clinton Stimpson authored
The 8 bit encoding is UTF-8. Change-Id: If54262c09777effcbffac30481405e56c6605dd7
-