[PATCH] D30295: [analyzer] clarify undef shift result when shift count is negative or exceeds the bit width
Daniel Marjamäki via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 3 10:30:10 PDT 2017
danielmarjamaki updated this revision to Diff 109590.
danielmarjamaki added a comment.
Cleaned up the patch a little. Thanks Gabor for telling me about SValBuilder::getKnownValue()
Repository:
rL LLVM
https://reviews.llvm.org/D30295
Files:
include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
lib/StaticAnalyzer/Checkers/ConversionChecker.cpp
lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
lib/StaticAnalyzer/Core/CheckerContext.cpp
test/Analysis/bitwise-ops.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30295.109590.patch
Type: text/x-patch
Size: 9643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170803/7170b4f9/attachment-0001.bin>
More information about the cfe-commits
mailing list