]> granicus.if.org Git - clang/commit
Add member template "MemRegion::getAs<RegionType>" that dynamically casts a
authorTed Kremenek <kremenek@apple.com>
Mon, 9 Mar 2009 20:28:08 +0000 (20:28 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 9 Mar 2009 20:28:08 +0000 (20:28 +0000)
commited65d3d97132fbcdd124aef4d2478e348dfbd36b
treec79d2d94b116f52f169274138ec54b86cbf121d5
parentfda79d1ce6ea89aa5fe516a543ea273a01142107
Add member template "MemRegion::getAs<RegionType>" that dynamically casts a
given MemRegion object to a target region type. This differs from dyn_cast<> in
that it also ignores TypedViewRegions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66439 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/PathSensitive/MemRegion.h