HomePhabricator

Merging r353327:

Description

Merging r353327:

r353327 | lebedevri | 2019-02-06 20:17:30 +0100 (Wed, 06 Feb 2019) | 18 lines

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

Details

Committed
hansFeb 7 2019, 3:04 AM
Reviewer
aaron.ballman
Differential Revision
D57787: [clang-tidy] modernize-avoid-c-arrays: avoid main function (PR40604)
Parents
rL353390: sanitizers: Introduce ThreadType enum
Branches
Unknown
Tags
Unknown