[PATCH] D130091: [clang][analyzer] Added partial wide character support to CStringChecker
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 22 01:38:52 PDT 2022
martong accepted this revision.
martong added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: rnkovacs.
Okay, thanks for the update. LGTM!
================
Comment at: clang/test/Analysis/wstring.c:385
+ wchar_t a[32];
+ // FIXME: This should work with 'w_str' instead of 'w_str1'
+ const wchar_t w_str1[] = L"Hello world";
----------------
balazske wrote:
> The problem may be that the global constant is not encountered as statement when a function is analyzed.
Do we have the same problem in the non-wide case?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130091/new/
https://reviews.llvm.org/D130091
More information about the cfe-commits
mailing list