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

Evan Smal via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 9 07:53:06 PST 2023


evansmal added a comment.

In D141283#4036449 <https://reviews.llvm.org/D141283#4036449>, @shafik wrote:

> Thank you for this diagnostic fix, please make sure you update `clang/test/CXX/dcl.decl/dcl.init/dcl.init.string/p2.cpp`.

I noticed that there are also some tests in: //clang/test/SemaCXX/pascal-strings.cpp//, //clang/test/Sema/array-init.c//, and //clang/test/Sema/format-strings.c//. I assume these should also be updated?


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