[PATCH] D15921: [analyzer] Utility to match function calls.

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 6 05:31:16 PST 2016


xazax.hun created this revision.
xazax.hun added reviewers: zaks.anna, dcoughlin.
xazax.hun added subscribers: cfe-commits, dkrupp.

This patch adds a small utility to match function calls and Obj-C messages. This utility abstracts away the mutable keywords and the lazy initialization and caching logic of identifiers from the checkers. The SimpleStreamChecker is ported over this utility within this patch to show the reduction of code and to test this change.

http://reviews.llvm.org/D15921

Files:
  include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
  lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
  lib/StaticAnalyzer/Core/CheckerContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15921.44110.patch
Type: text/x-patch
Size: 6061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160106/80c6a544/attachment.bin>


More information about the cfe-commits mailing list