commit | a3c45a211572ba218550e426a29ef00b05c4ad40 | [log] [tgz] |
---|---|---|
author | Roman Lebedev <lebedev.ri@gmail.com> | Wed Feb 06 19:17:30 2019 +0000 |
committer | Roman Lebedev <lebedev.ri@gmail.com> | Wed Feb 06 19:17:30 2019 +0000 |
tree | 259bdd38a7912cf8c4fcdb365ef46a3ee60d6a9a | |
parent | a7e2607804824a5f76de936530259e7e0a24b17e [diff] |
[clang-tidy] modernize-avoid-c-arrays: avoid main function (PR40604) Summary: The check should ignore the main function, the program entry point. It is not possible to use `std::array<>` for the `argv`. The alternative is to use `char** argv`. Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=40604 | PR40604 ]] Reviewers: JonasToth, aaron.ballman Reviewed By: aaron.ballman Subscribers: xazax.hun, hans, cfe-commits Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D57787 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@353327 91177308-0d34-0410-b5e6-96231b3b80d8