[PATCH] [analyzer] [Refactoring+bugfix] Replace copy-paste function with a correctly implemented one

Aleksei Sidorin a.sidorin at samsung.com
Tue Aug 19 10:26:48 PDT 2014


Hi krememek, jordan_rose, zaks.anna,

There are three copies of IsCompleteType(...) function in CSA and all of them are incomplete (I experienced  crashes in some CSA's test cases). I have replaced these function calls with Type::isIncompleteType() calls.

http://reviews.llvm.org/D4973

Files:
  lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
  lib/StaticAnalyzer/Core/MemRegion.cpp
  lib/StaticAnalyzer/Core/Store.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4973.12669.patch
Type: text/x-patch
Size: 3548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140819/74112f01/attachment.bin>


More information about the cfe-commits mailing list