Unverified Commit 1a09cfb2 authored by Bill Wendling's avatar Bill Wendling Committed by GitHub
Browse files

[Clang] counted_by attr can apply only to C99 flexible array members (#72347)



Ensure that we're dealing only with C99 flexible array members. I.e.
ones with incomplete types:

  struct s {
    int count;
    char array[]; /* note: no size specified */
  };

Authored-by: default avatarBill Wendling <isanbard@gmail.com>
parent 1451411e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment