llvm/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init.ignorearrays.cpp

// RUN: %check_clang_tidy %s \
// RUN: cppcoreguidelines-pro-type-member-init %t \
// RUN: -config="{CheckOptions: \
// RUN: {cppcoreguidelines-pro-type-member-init.IgnoreArrays: true}}"

typedef int TypedefArray[4];
using UsingArray = int[4];

struct HasArrayMember {
  HasArrayMember() {}
  // CHECK-MESSAGES: warning: constructor does not initialize these fields: Number
  UsingArray U;
  TypedefArray T;
  int RawArray[4];
  int Number;
};