[cfe-commits] [Patch]LocationContext Support for CheckedReturn

章磊 ioripolo at gmail.com
Sun Apr 10 20:26:09 PDT 2011

Hi Clang,

This patch add a DenseMap to record the CheckedReturn count for a
functiondecl(fielddecl, vardecl as function pointer) in LocationContext.

ImmutableMap seems not alright here, is DenseMap ok?

And how to make it checker-specific?

This patch is preparation for statistical UncheckedRenturn checker.
I'll appreciate it if there are any advice about this patch.

Best regards!

Lei Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110411/b5a635e1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CRResultMap.patch
Type: application/octet-stream
Size: 1994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110411/b5a635e1/attachment.obj>

More information about the cfe-commits mailing list