]> granicus.if.org Git - clang/commit
Extend AnyCall to handle callable declarations without the call expressions
authorGeorge Karpenkov <ekarpenkov@apple.com>
Tue, 29 Jan 2019 19:29:19 +0000 (19:29 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Tue, 29 Jan 2019 19:29:19 +0000 (19:29 +0000)
commitd3933028b54ab971d36d3c1697478ef573993c0b
treec8a33021337925601dfb15cfee4c52af8917f060
parentc60730eeebd5ed7caa1bb1b958f1ea0499dd829f
Extend AnyCall to handle callable declarations without the call expressions

That weakens inner invariants, but allows the class to be more generic,
allowing usage in situations where the call expression is not known (or
should not matter).

Differential Revision: https://reviews.llvm.org/D57344

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352531 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/AnyCall.h
lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp