[analyzer] Reimplement trackExpressionValue as ExpressionHandler
authorValeriy Savchenko <vsavchenko@apple.com>
Thu, 3 Jun 2021 13:47:33 +0000 (16:47 +0300)
committerValeriy Savchenko <vsavchenko@apple.com>
Fri, 11 Jun 2021 09:49:03 +0000 (12:49 +0300)
commit967c06b3e95ba776fb06ad0ea5aa699cf2e1b59a
treeabf2d816f9915bd6c6d6f49d6109dd2f441e6d7e
parent0cc3100bf8d126ce080c0075cf25784b45e5f990
[analyzer] Reimplement trackExpressionValue as ExpressionHandler

This commit moves trackExpressionValue into the Tracker interface
as DefaultExpressionHandler.  It still can be split into smaller
handlers, but that can be a future change.

Additionally, this commit doesn't remove the original trackExpressionValue
interface, so it's not too big.  One of the next commits will address it.

Differential Revision: https://reviews.llvm.org/D103616
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp