[PATCH] D124349: [analyzer] Get direct binding for specific punned case
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 5 00:16:17 PDT 2022
martong accepted this revision.
martong added a comment.
LGTM! Thanks Vince!
================
Comment at: clang/test/Analysis/array-punned-region.c:38
+ ff.b[0] = 3;
+ clang_analyzer_eval(*((int *)pff + 2) == 3); // expected-warning{{TRUE}} // Or should this be `pff + 3` ???
+}
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124349/new/
https://reviews.llvm.org/D124349
More information about the cfe-commits
mailing list