[clang][analyzer] Add more wide-character functions to CStringChecker
authorBalázs Kéri <1.int32@gmail.com>
Fri, 5 Aug 2022 08:05:34 +0000 (10:05 +0200)
committerBalázs Kéri <1.int32@gmail.com>
Fri, 5 Aug 2022 08:32:53 +0000 (10:32 +0200)
commit501faaa0d65e9814566ef65e58d834c155553b8a
tree7ad0dc01edbe293266fd296966e738a8c09fbdd1
parent4c106c93eb68f8f9f201202677cd31e326c16823
[clang][analyzer] Add more wide-character functions to CStringChecker

Support for functions wmempcpy, wmemmove, wmemcmp is added to the checker.
The same tests are copied that exist for the non-wide versions, with
non-wide functions and character types changed to the wide version.

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D130470
clang/docs/analyzer/checkers.rst
clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
clang/test/Analysis/wstring.c