]> granicus.if.org Git - clang/commit
[Analyzer] Refactor begin and end symbol creation
authorAdam Balogh <adam.balogh@ericsson.com>
Mon, 20 May 2019 11:04:27 +0000 (11:04 +0000)
committerAdam Balogh <adam.balogh@ericsson.com>
Mon, 20 May 2019 11:04:27 +0000 (11:04 +0000)
commitf5a1b04463042b486baf4542ff961023c10ff632
tree0136ddcfbca4bcc39db747e1af6850cafe50b7e3
parent7111c842e8a6d2254992c97ccad307dfd7ba1166
[Analyzer] Refactor begin and end symbol creation

This patch refactors begin and end symbol creation by moving symbol
conjuration into the `create...` functions. This way the functions'
responsibilities are clearer and makes possible to add more functions
handling these symbols (e.g. functions for handling the container's
size) without code multiplication.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361141 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/IteratorChecker.cpp