Kitware Robot
0b96ae1f6a
Revise C++ coding style using clang-format with "east const"
...
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.
Issue: #26123
2025-01-23 13:09:50 -05:00
Alex Turbov
c3777c1536
ci: Extend spellcheck job with 'typos' tool
...
Unlike the `codespell`, `typos` is capable of finding typos
in combined identifiers (`CamelCase` or `snake_case`).
2025-01-22 08:51:45 -05:00
Marc Chevrier
553da0685f
cmFunctionBlocker: Add handling of close block without parameters.
2022-08-22 16:25:53 +02:00
Brad King
0386641142
cmListFileCache: Rename FromCommandContext to FromListFileFunction
...
Accept a `cmListFileFunction` instead of a `cmCommandContext`.
2022-01-25 08:39:52 -05:00
Oleksandr Koval
e614528ad1
cmListFileCache: Make cmListFileFunction a shared pointer
...
Passing cmListFileFunction everywhere by-value involves big overhead.
Now cmListFileFunction stores std::shared_ptr to the underlying data.
2020-10-01 14:28:03 +03:00
Ben Boeckel
3ac24a8a6e
cmFunctionBlocker: include missing header
...
This is needed to have `std::string::operator==` used in the code. Mark
it as such since older IWYU releases don't recognize this.
2020-04-29 11:16:44 -04:00
Ben Boeckel
b745b8fd36
IWYU: mark includes needed for assert statements as needed
2020-04-29 11:16:44 -04:00
Regina Pfeifer
41364824ad
cmFunctionBlocker: Recycle functions
2019-07-31 13:22:42 -04:00
Regina Pfeifer
6491270e0d
cmFunctionBlocker: Move check for matching args
2019-07-31 00:03:17 +02:00
Regina Pfeifer
af24e4ef6e
cmFunctionBlocker: Move common logic to base
2019-07-31 00:03:17 +02:00