Eric
17cae787e7
[commands] Mark CommandPtr class as [[nodiscard]] ( #7803 )
...
This has the same effect but makes it so any user code returning CommandPtr can't discard a returned command.
Signed-off-by: Eric Ward <ezeward4@gmail.com >
2025-05-03 20:44:55 -07:00
Tyler Veness
554024767e
Fix errors from new cpplint.py ( #7105 )
2024-09-20 17:43:39 -07:00
Starlight220
5172ab8fd0
[commands] C++ CommandPtr: Prevent null initialization ( #5991 )
2023-12-02 16:45:04 -08:00
Tyler Veness
5d3a133f9f
Remove spaces in NOLINT comments ( #5407 )
...
clang-tidy ignores the category filter if there's a space. wpiformat now
ignores categories it doesn't understand, so we can remove the spaces.
2023-06-20 20:29:23 -07:00
Tyler Veness
1501607e48
[commands] Fix clang-tidy warnings ( #5402 )
2023-06-19 23:01:46 -07:00
Starlight220
49047c85b9
[commands] Report error on C++ CommandPtr use-after-move ( #4575 )
2022-11-14 14:20:52 -08:00