[PATCH] D43741: [Analyzer] More accurate modeling about the increment operator of the operand with type bool.
Henry Wong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 3 03:20:33 PST 2018
MTC updated this revision to Diff 136901.
MTC added a comment.
- If the operand of the ++ operator is of type `_Bool`, also set to true.
- Add test file `_Bool-increment-decement.c`.
Repository:
rC Clang
https://reviews.llvm.org/D43741
Files:
include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
lib/StaticAnalyzer/Core/ExprEngineC.cpp
test/Analysis/_Bool-increment-decrement.c
test/Analysis/bool-increment.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43741.136901.patch
Type: text/x-patch
Size: 6938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180303/320ee736/attachment.bin>
More information about the cfe-commits
mailing list