This tries to fix https://github.com/llvm/llvm-project/issues/55402
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D125521
[Diagnostic] Warn if the size argument of memset is character literal zero ClosedPublic Authored by ChuanqiXu on May 12 2022, 11:02 PM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 13 2022, 12:00 PM Closed by commit rG3bef90dff64f: [Diagnostic] Warn if the size argument of memset is character literal (authored by ChuanqiXu). · Explain WhyMay 15 2022, 7:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 429142 clang/lib/Sema/SemaChecking.cpp
clang/test/Sema/transpose-memset.c
|