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 ...


Revision tags: llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2
# b777bb78 01-Feb-2024 Piotr Zegar <me@piotrzegar.pl>

[clang-tidy] Add AllowStringArrays option to modernize-avoid-c-arrays (#71701)

Add AllowStringArrays option, enabling the exclusion of array types with
deduced sizes constructed from string literal

[clang-tidy] Add AllowStringArrays option to modernize-avoid-c-arrays (#71701)

Add AllowStringArrays option, enabling the exclusion of array types with
deduced sizes constructed from string literals. This includes only var
declarations of array of characters constructed directly from c-strings.

Closes #59475

show more ...