[llvm] [ELFAttributeParser][NFC] Make string array arguments `const` (PR #101460)

Piotr Fusik via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 02:03:16 PDT 2024


pfusik wrote:

> The changes look good to me, but the commit message is wrong. It's not the arguments (formal) that are made const, but rather the pointers. Another option is to make clear that the _real_ arguments are made const.

What pointers do you mean? It's the arrays that I make const.
These arrays are passed as arguments, wrapped in `ArrayRef`.
Any suggestion for a better commit message?

https://github.com/llvm/llvm-project/pull/101460


More information about the llvm-commits mailing list