[PATCH] D29303: In VirtualCallChecker, handle indirect calls

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 30 13:15:59 PST 2017


sammccall created this revision.

In VirtualCallChecker, handle indirect calls.

getDirectCallee() can be nullptr, and dyn_cast(nullptr) is UB


https://reviews.llvm.org/D29303

Files:
  lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29303.86335.patch
Type: text/x-patch
Size: 4339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170130/d86e1f99/attachment.bin>


More information about the cfe-commits mailing list