Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1
# 5fa742ee 19-Sep-2024 Congcong Cai <congcongcai0907@163.com>

[clang-tidy][NFC] add qutation mark for C++ classes in warning message (#109068)

As discussion in
https://github.com/llvm/llvm-project/pull/108555#discussion_r1761841192,
split quotation mark chan

[clang-tidy][NFC] add qutation mark for C++ classes in warning message (#109068)

As discussion in
https://github.com/llvm/llvm-project/pull/108555#discussion_r1761841192,
split quotation mark change in a new NFC PR.
It is more readable to use `'std::array'` than `std::array<>`

show more ...


# 785624b2 18-Sep-2024 Congcong Cai <congcongcai0907@163.com>

[clang-tidy]suggest use `std::span` as replacement of c array in C++20 for modernize-avoid-c-arrays (#108555)

The incompleted C-Array in parameter does not own memory. Instead, It is
equivalent to

[clang-tidy]suggest use `std::span` as replacement of c array in C++20 for modernize-avoid-c-arrays (#108555)

The incompleted C-Array in parameter does not own memory. Instead, It is
equivalent to pointer.
So we should not use `std::array` as recommended modern C++ replacement,
but use `std::vector` and `std::span` in C++20

show more ...