[PATCH] D141283: [clang] Improve diagnostic for "initializer-string for char array is too long"

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 10 08:29:50 PST 2023


shafik added a comment.

In D141283#4038703 <https://reviews.llvm.org/D141283#4038703>, @tbaeder wrote:

> When grepping `clang/test/` for "for char array is too long", I get a bunch of other hits for this diagnostic, are the those tests not failing for you (e.g. `clang/test/Sema/array-init.c:149`)?

The change is specific to C++, so it should not apply to `.c` file, right?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141283/new/

https://reviews.llvm.org/D141283



More information about the cfe-commits mailing list