| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
| |
The `.clang-format` configuration needs no changes to make the
version 18 format close to what version 15 produced before.
Issue: #26123
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Improve the coding conventions specified in our source code guide:
- Recommend capitalization for locals as well as members.
- Remove exceptions for `const` placement; new code should always prefer
"east" style.
- Remove separate section; "Code Style" and "Code Conventions" are
similar enough to not need to make a distinction.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Document how developers working on CMake itself may run the test suite
locally.
Fixes: #26001
|
| | |
|
| | |
|
| |
|
|
|
|
| |
* Ensure various functions working with containers are available through
all headers as specified by the standard.
* Add C++20 std::ssize() function.
|
| |
|
|
| |
The enum must be an `enum class` with an unsigned integer as base type.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fixes: #20666
|
| | |
|
| |
|
|
|
| |
We now offer many C++14, C++17, C++20, and custom extensions to the C++
standard library that are available even when compiling as C++11.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Remove this content from the `cmake-developer(7)` manual because it
is relevant only to developers working on CMake itself. Move it to
a guide in the developer documentation.
|
| |
|
|
|
| |
We now use `std::size_t` in several places and it is fully supported by
C++11 compilers. Drop the recommendation to prefer plain `size_t`.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Update `.clang-format` with configuration to make the 6.0 format as
close as possible to what 3.8 produced before. Then revise the style:
* Indent preprocessor directives (a feature new since 3.8)
* Add a newline and indentation before inheritance `:` and `,`
Rename the Git attribute identifying the format to include the
clang-format version number: `format.clang-format-6.0`. This will aid
external infrastructure in knowing what version of the tool to run.
|
| |
|
|
|
| |
We now require C++11 support including `= delete`. Drop use of
the old compatibility macro.
|
| |
|
|
| |
Signed-off-by: Matthias Maennich <matthias@maennich.net>
|
| |
|
|
|
|
|
|
|
| |
CMake can now compile as C++11 on all supported platforms. Check that
std::unique_ptr is available and fail early if missing. This will allow
us to use C++11 more broadly in CMake's implementation (previously it
was restricted to the serve mode implementation).
Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
|
| |
|
|
|
| |
Cross-reference the CMake Source Code Guide document.
Also drop the outdated `Tests/README` file.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Move the C++ subset rules from the `cmake-developer(7)` into our
dedicated coding guide since they do not need to be in user-facing
documentation.
|
| |
|
|
|
| |
Simplify the `CONTRIBUTING.rst` document by moving the code style
section over to our dedicated coding guide and linking to it instead.
|
|
|
Create a dedicated document to cover the CMake source code for
developers.
|